Installation: Difference between revisions

Jump to navigation Jump to search
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                   # this will make you root, and ask for your password
  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


2,684

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu