2,684
edits
Line 120: | Line 120: | ||
Only Terminal windows that are opened afterwards will have access to the CCP4 programs! | Only Terminal windows that are opened afterwards will have access to the CCP4 programs! | ||
Become familiar with the concept and ways to run commands as "root" - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile</code>) | Become familiar with the concept and ways to run commands as "root" - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile; echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile</code>) | ||
So, prepare the following steps by opening the Terminal window, and then | So, prepare the following steps by opening the Terminal window, and then | ||
sudo su | sudo su # this will make you root, and ask for your password | ||
mkdir /usr/local/bin # only if /usr/local/bin was not created before | mkdir /usr/local/bin # only if /usr/local/bin was not created before | ||