CCP4 Projects

Kevin Cowtan, University of York, May 2004 The following instructions allow you to install an updated CCP4 5.0 semi-automatically on linux. There are two versions. The first uses autopackage to build a portable version. You will need to have installed apbuild first. The second produces a conventional version which may not be portable across different Linux versions.

With autopackage

wget ftp://ftp.ccp4.ac.uk/ccp4/current/packed/ccp4-5.0.tar.gz
wget ftp://ftp.ccp4.ac.uk/ccp4/5.0/patches/rcard_tor1.f-14May2004
tar xvfz ccp4-5.0.tar.gz
mv rcard_tor1.f-14May2004 ccp4-5.0/src/refmac5_/rcard_tor1.f
sed "s#xtal#$PWD#" ccp4-5.0/include/ccp4.setup-dist > ccp4-5.0/include/ccp4.setup
source ccp4-5.0/include/ccp4.setup
cd ccp4-5.0
setenv CC apgcc
setenv FC apgcc
setenv CXX apgcc
setenv XLDFLAGS '-lfrtbegin -lg2c -lstdc++'
./configure linux
make
make install

Without autopackage

wget ftp://ftp.ccp4.ac.uk/ccp4/current/packed/ccp4-5.0.tar.gz
wget ftp://ftp.ccp4.ac.uk/ccp4/5.0/patches/rcard_tor1.f-14May2004
tar xvfz ccp4-5.0.tar.gz
mv rcard_tor1.f-14May2004 ccp4-5.0/src/refmac5_/rcard_tor1.f
sed "s#xtal#$PWD#" ccp4-5.0/include/ccp4.setup-dist > ccp4-5.0/include/ccp4.setup
source ccp4-5.0/include/ccp4.setup
cd ccp4-5.0
./configure linux
make
make install

Old pages

My old CCP4 page which contains obsolete information which may be useful for reference is here.
Back to my homepage.
Kevin Cowtan: