Installation

From XDSwiki
Revision as of 12:41, 2 June 2014 by Kay (talk | contribs) (Created page with "This article has some little scripts that should ease the installation of XDS and related programs. == Linux 64 bit == Log in as root, and then: <pre> cd /usr/local/bin wg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This article has some little scripts that should ease the installation of XDS and related programs.


Linux 64 bit

Log in as root, and then:

 cd /usr/local/bin
 wget http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | \
   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 '/# end of generate_XDS.INP/,$d' | awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP
 chmod +x generate_XDS.INP

To get XDS,

wget ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-INTEL64_Linux_x86_64.tar.gz | tar xvf -
ln -sf XDS-INTEL64_Linux_x86_64/* .

To get XDS-Viewer,

wget ftp://turn5.biologie.uni-konstanz.de/pub/xds-viewer-0.6 -O xds-viewer
ln -sf xds-viewer xdsviewer

To get XDSSTAT,

wget ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-linux64.bz2 -O xdsstat.bz2
bunzip2 xdsstat.bz2
chmod a+x xdsstat

Linux 32 bit

Log in as root, and then:

 cd /usr/local/bin
 wget http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | \
   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 '/# end of generate_XDS.INP/,$d' | awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP
 chmod +x generate_XDS.INP

To get XDS,

wget ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-IA32_Linux_x86.tar.gz | tar xvf -
ln -sf XDS-IA32_Linux_x86/* .

To get XDS-Viewer,

wget ftp://turn5.biologie.uni-konstanz.de/pub/xds-viewer-0.6 -O xds-viewer
ln -sf xds-viewer xdsviewer

To get XDSSTAT,

wget ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-linux32.bz2 -O xdsstat.bz2
bunzip2 xdsstat.bz2
chmod a+x xdsstat


Mac (Intel)

sudo su

(enter your root password) To get generate_XDS.INP:

 cd /usr/local/bin
 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 '/# end of generate_XDS.INP/,$d' | awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP
 chmod +x generate_XDS.INP

To get XDS, for latest OS X (Mavericks):

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/* .

and for or older OS X:

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/* .

(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,

wget ftp://turn5.biologie.uni-konstanz.de/pub/xds-viewer-0.6 -O xds-viewer
ln -sf xds-viewer xdsviewer

To get XDSSTAT,

wget ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-linux32.bz2 -O xdsstat.bz2
bunzip2 xdsstat.bz2
chmod a+x xdsstat