Changes

From XDSwiki
Jump to navigationJump to search
133 bytes added ,  15:35, 24 August 2021
m
→‎Mac OSX: get_folder.sh now checks CCP4 environment
Line 81: Line 81:  
Attention: [[generate_XDS.INP]] requires the [https://developer.apple.com/download/more/ Xcode command line tools] to be installed (free of charge): open a Terminal window, and enter <code>sudo xcode-select --install</code> (for Big Sur, the download has a size of about half a GB; the downloader is much too pessimistic about the time it takes).
 
Attention: [[generate_XDS.INP]] requires the [https://developer.apple.com/download/more/ Xcode command line tools] to be installed (free of charge): open a Terminal window, and enter <code>sudo xcode-select --install</code> (for Big Sur, the download has a size of about half a GB; the downloader is much too pessimistic about the time it takes).
   −
Although CCP4 is not required by XDS itself, some of the programs (XDSSTAT, and MTZ file creation in XDSCONV) use CCP4 tools or libraries. Therefore, CCP4 should be installed. Open a Terminal and check the existence of the file .zprofile , and its content:<pre>
+
Although CCP4 is not required by XDS itself, some of the programs (XDSSTAT, and MTZ file creation in XDSCONV, POINTLESS and COOT) use CCP4 tools or libraries. Therefore, CCP4 should be installed. Open a Terminal and check the existence of the file .zprofile , and its content:<pre>
 
kay@Kays-MacBook-Air-2018 ~ % ls -l .zprofile
 
kay@Kays-MacBook-Air-2018 ~ % ls -l .zprofile
 
-rw-r--r--  1 kay  staff  107  7 Mär 09:41 .zprofile
 
-rw-r--r--  1 kay  staff  107  7 Mär 09:41 .zprofile
Line 91: Line 91:  
<pre>
 
<pre>
 
echo . /Applications/ccp4-7.1/bin/ccp4.setup-sh > $HOME/.zprofile
 
echo . /Applications/ccp4-7.1/bin/ccp4.setup-sh > $HOME/.zprofile
</pre>Only Terminal windows that are opened afterwards will have access to the CCP4 programs!
+
</pre>The <code>get_folder.sh</code> script (below) checks the CCP4 setup, and creates the necessary files if needed.
 +
 
 +
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</code>)
2,522

edits

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

Navigation menu