You are here: Home / Users / Daniel Fuller / radinstall-macos.html


Download the distributions to the Desktop using your favorite browser

Drop into the Terminal

Open /Applications/Utilities/Terminal

Unpack distributions

$ cd Desktop
$ tar -xvzf rad4R1all.tar.gz

$ tar -xvzf rad4R1_macosx_bin.tar.gz


$ sudo -s
<enter your password - hopefully you have an admin account>
- position an "chown" the binaries 
# mv rad4R1_macosx /usr/local/bin/ray
# chown -R root:wheel /usr/local/bin/ray
- the library files (dont forget the dot (.) before the /makeall !)
# cd ray
# ./makeall library

"Where do you want the library files [/usr/local/lib/ray]" <hit return>


cd ~/Desktop

# rm -rf ray rad4R1_macosx

Setup Paths

- drop back out of root - back to your normal login
% ctrl-d
- cd to your home directory
$ cd
- now add these lines to your ${HOME}.profile file for the korn bash and bourne (sh) shells
$ vi .profile <or> pico .profile
export PATH=${PATH}:/usr/local/bin/ray
export RAYPATH=.:/usr/local/lib/ray
- add these lines to your ${HOME}.cshrc file for the csh and tcsh shells
$ vi .cshrc <or> pico .cshrc
setenv PATH ${PATH}:/usr/local/bin/ray
setenv RAYPATH .:/usr/local/lib/ray
You could also add these PATH and RAYPATH lines to the global /etc/profile (.sh and bash) and or /etc/csh.cshrc (csh/tcsh) files.
(For ubuntu the file edit the file /etc/environment

Verify installation

Now when you open an NEW terminal window (apple-n) typing
$ env
will give you among other things something like
$ which rad
will give you

At this point things will be installed.

So now to actually perform the tutorials you can open
(you might as well add it and the to the dock)

to start rendering in X-windows on your mac.

by DEFuller – last modified Sep 04, 2020 11:32 AM