Installation: Difference between revisions

Line 89: Line 89:
== Mac (Intel) ==
== Mac (Intel) ==
=== personal installation ===
=== personal installation ===
  cd /usr/local/bin
Preparation:
* make sure your $PATH includes your $HOME/bin - the programs will be put into that directory. To achieve this, open a Terminal window, and then
<pre>
  cd $HOME
echo "export PATH=$HOME:$HOME/bin" >> .bashrc
</pre>
* create that directory. Still in the Terminal window, type
<pre>
mkdir $HOME/bin
</pre>
Install generate_XDS.INP:
<pre>
cd $HOME/bin
  curl -L -o - http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP | \
  curl -L -o - http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
Line 95: Line 107:
  chmod +x generate_XDS.INP
  chmod +x generate_XDS.INP
</pre>
</pre>
To get [[XDS]], for latest OS X (Mavericks):
* to get [[XDS]], for latest OS X (Mavericks):
<pre>
<pre>
cd $HOME/bin
  curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.9.1_Darwin13.0.0.tar.gz | tar xvf -
  curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.9.1_Darwin13.0.0.tar.gz | tar xvf -
  ln -sf XDS-OSX10.9.1_Darwin13.0.0/* .
  ln -sf XDS-OSX10.9.1_Darwin13.0.0/* .
</pre>
</pre>
and for older OS X:
(for older OS X, that would be
<pre>
<pre>
  curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.5.8_Darwin9.8.0.tar.gz | tar xvf -
  curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.5.8_Darwin9.8.0.tar.gz | tar xvf -
  ln -sf XDS-OSX10.5.8_Darwin9.8.0/* .
  ln -sf XDS-OSX10.5.8_Darwin9.8.0/* .
</pre>
</pre>
(There is also a 32bit tarfile at the same site, for OS X 10.4.11; the installation would be similar)
There is also a 32bit tarfile at the same site, for OS X 10.4.11; the installation would be similar)


To get [[XDS-Viewer]], click https://sourceforge.net/project/platformdownload.php?group_id=239755 , install in the usual way and then
To get [[XDS-Viewer]], click https://sourceforge.net/project/platformdownload.php?group_id=239755 , install in the usual way and then
  sudo ln -s /Applications/XDS-Viewer.app/Contents/MacOS/xds-viewer-bin /usr/local/bin/xds-viewer
  ln -s /Applications/XDS-Viewer.app/Contents/MacOS/xds-viewer-bin $HOME/bin/xds-viewer
To get [[XDSSTAT]],
To get [[XDSSTAT]],
<pre>
<pre>
cd $HOME/bin
  curl -L -o xdsstat.bz2 ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-i386-mac.bz2
  curl -L -o xdsstat.bz2 ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-i386-mac.bz2
  bunzip2 -f xdsstat.bz2
  bunzip2 -f xdsstat.bz2
Line 116: Line 130:
</pre>
</pre>
To get [[XDSGUI]], please download from ftp://turn5.biologie.uni-konstanz.de/pub/xdsgui.dmg and then  
To get [[XDSGUI]], please download from ftp://turn5.biologie.uni-konstanz.de/pub/xdsgui.dmg and then  
  sudo ln -s /Applications/xdsgui.app/Contents/MacOS/xdsgui /usr/local/bin/xdsgui
  ln -s /Applications/xdsgui.app/Contents/MacOS/xdsgui $HOME/bin/xdsgui




=== installation as root ===
=== system-wide installation (requires root permission) ===
  sudo su
  sudo su
(enter your root password)
(enter your root password)
2,652

edits