Installation: Difference between revisions

26 bytes added ,  Yesterday at 20:25
m
(→‎Troubleshooting: check for coot)
 
Line 75: Line 75:
  sudo mkdir /usr/local/bin
  sudo mkdir /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. Also, this requires modification of the $PATH, by a one-time  
'''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. Also, this requires modification of the $PATH, by a one-time  
  mkdir $HOME/bin
  mkdir $HOME/bin
  echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile
  echo 'export PATH=$PATH:$HOME/bin' >> ~/.zprofile
Line 136: Line 136:
source $HOME/.profile
source $HOME/.profile
# Added by CCP4 package manager:
# Added by CCP4 package manager:
. '/Applications/ccp4-8.0/bin/ccp4.setup-sh'
source '/Applications/ccp4-8.0/bin/ccp4.setup-sh'
# or
# or
. '/Applications/ccp4-9/bin/ccp4.setup-sh'
source '/Applications/ccp4-9/bin/ccp4.setup-sh'


</pre>If the file does not exist, create it - the easiest way is:
</pre>If the file does not exist, create it - the easiest way is:
<pre>
<pre>
echo . /Applications/ccp4-8.0/bin/ccp4.setup-sh >> $HOME/.zprofile
echo source /Applications/ccp4-8.0/bin/ccp4.setup-sh >> $HOME/.zprofile
# or
# or
echo . /Applications/ccp4-9/bin/ccp4.setup-sh >> $HOME/.zprofile
echo source /Applications/ccp4-9/bin/ccp4.setup-sh >> $HOME/.zprofile
# depending on which CCP4 version you have installed
# depending on which CCP4 version you have installed
</pre>The <code>get_folder.sh</code> script (below) checks the CCP4 setup, and creates the necessary files if needed.
</pre>The <code>get_folder.sh</code> script (below) checks the CCP4 setup, and creates the necessary files if needed.
2,718

edits