CCP4-6.1.0 on Ubuntu Ibex

From OS X Scientific Computing

Jump to: navigation, search

There has been some discussion about getting ccp4-6.1.0 working on Ubuntu Ibex.


Here is one approach that should work with minimal hassles.


imosflm_xubuntu_ibex_small.png


Contents

Install Ubuntu Dependencies and my bltwish

You need to install Ubuntu's packages tcl, tk, blt, gfortran, python, gsl-bin, firefox, libxml2 and probably some other stuff I've missed.

sudo apt-get install blt gfortran gsl-bin firefox libxml2

should do it. Or you can use the gui synaptic.

Ubuntu won't supply bltwish. To get around this, install mine like this:

wget http://diablo.ucsc.edu/~wgscott/debian/deb/ccp4/bltwish-2.4z-unofficial_i386.deb
sudo dpkg -i bltwish-2.4z-unofficial_i386.deb

(or you can just double-click on the link and let the gui install it).

Install ActiveTcl

I installed ActiveTcl8.4.19.1.286921-linux-ix86 from the ActiveTcl website. I picked this one because it is the most recent in the version 8.4.X series. The ubuntu version of tcl/tk is currently 8.4.19, so this seemed consistent. I have no idea whether this is important or not.

I have nothing in the /opt directory. The installer script ( ./install.sh ) offers to install into /opt/ActiveTcl-8.4 by default, so I agreed. I agreed to all the defaults. When the installer finishes, it will put its version of wish in /opt/ActiveTcl-8.4/bin/wish. The installer advises you to put the /opt/ActiveTcl-8.4/bin directory in your $PATH. Ignore this advice. Just install it, and do nothing until we get to part 4.

The reason NOT to put this in /usr or /usr/local or anywhere else in your $PATH is that you DON'T want this interfering with your default installation. No one has to know about this except imosflm.

Install my CCP4-6.1.0 debian package

This installs into /usr/local/xtal/ccp4-6.1.0 and creates a symbolic link to /usr/local/xtal/ccp4

I've put in a more recent version of refmac, refmac-5.5.0070, since the distributed version was reported to be problematic. I renamed the old one to refmac5-5.5.0066 if for some reason you want to use it.

To install this,

wget http://diablo.ucsc.edu/~wgscott/debian/deb/ccp4/ccp4_6.1.0-1_i386.deb
sudo dpkg -i ccp4_6.1.0-1_i386.deb

Source the appropriate file for your shell

source /usr/local/xtal/ccp4-6.1.0/include/ccp4.setup-bash

or

source /usr/local/xtal/ccp4-6.1.0/include/ccp4.setup-zsh

or

source /usr/local/xtal/ccp4-6.1.0/include/ccp4.setup-csh