6
edits
(6 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
The following is specific to Ubuntu linux, but should be generalizable to any recent linux distribution. | The following is specific to Ubuntu linux, but should be generalizable to any recent linux distribution. | ||
'''This is a so-called "advanced" task. Don't attempt it unless you would rather compile your own software than use pre-compiled versions. The standard (supported) method for installing Coot is to download a pre-compiled binary, or to use the autobuild scripts | '''This is a so-called "advanced" task. Don't attempt it unless you would rather compile your own software than use pre-compiled versions. The standard (supported) method for installing Coot is to [[Coot#Installation_from_a_distributed_binary_tarball_package |download a pre-compiled binary]], or to use [[Coot#Installation_from_source_code_via_autobuild_scripts |the autobuild scripts]].''' | ||
==Installing pre-compiled Coot binaries== | ==Installing pre-compiled Coot binaries== | ||
Line 38: | Line 38: | ||
===gpp4=== | ===gpp4=== | ||
wget | wget http://launchpad.net/gpp4/1.3/1.3.1/+download/gpp4-1.3.1.tar.gz | ||
CPPFLAGS=-I/usr/local/xtal/include ./configure --prefix=/usr/local/xtal --includedir=/usr/local/xtal/include | CPPFLAGS=-I/usr/local/xtal/include ./configure --prefix=/usr/local/xtal --includedir=/usr/local/xtal/include | ||
make | make | ||
Line 140: | Line 140: | ||
===To make it play nice with python, I have had to do the following: === | ===To make it play nice with python, I have had to do the following: === | ||
perl pi -e 's|PYTHONHOME=\$COOT_PREFIX|\#PYTHONHOME=\$COOT_PREFIX|g' bin/coot | perl -pi -e 's|PYTHONHOME=\$COOT_PREFIX|\#PYTHONHOME=\$COOT_PREFIX|g' bin/coot | ||
cp src/coot.py python/. | cp src/coot.py python/. | ||
cp src/coot.py share/coot/python/. | cp src/coot.py share/coot/python/. | ||
===Now add the reference structures: === | ===Now add the reference structures: === | ||
cd share/coot | cd share/coot | ||
Line 153: | Line 153: | ||
cd /tmp | cd /tmp | ||
wget http://www.ysbl.york.ac.uk/refmac/data/refmac_dictionary.tar.gz | |||
tar xvfz | tar xvfz refmac_dictionary.tar.gz | ||
mkdir -p /usr/local/xtal/coot-0.5/lib/data | mkdir -p /usr/local/xtal/coot-0.5.2/lib/data | ||
cp -r dic /usr/local/xtal/coot-0.5/lib/data/monomers | cp -r dic /usr/local/xtal/coot-0.5.2/lib/data/monomers | ||
===Export the COOT_REFMAC_LIB_DIR variable === | ===Export the COOT_REFMAC_LIB_DIR variable === |
edits