15 March 2012: Stable has moved from v2.1.5 to v2.2.2.
Download Current Stable CcpNmr Version (v2.2)
CcpNmr Format Converter 2.2.2
This download only contains Python code and does not include the Analysis program.
CcpNmr Analysis 2.2.2All Analysis downloads also include Format Converter.
Analysis pre-compiled binaries (includes all the required libraries)
Installation note: for a pre-compiled Linux or Mac release you just need to unpack it (e.g. issue the command "tar xvzf analysis2.1.5.tgz") and for the Windows release just double click on the CcpnmrSetup-build-2.2.2.exe file.
To start Analysis on Linux or Mac make sure that the extracted bin/ directory is on your executable path (e.g. set $PATH in your .bashrc or .cshrc file) or run bin/analysis directly. To run Analysis from Windows double click on the icon.
20 Mar 2012: Fedora 12 (and possibly other versions of Fedora) had problems loading the Tk library because it insisted that it should be called libTk8.5.so.0 instead of just libTk8.5.so, so a symbolic link has been added into the Tk lib directory, which should sort this.
On Linux, if Analysis complains that it cannot find libXss.so.1, then you need to install the libXScrnSaver package.
Analysis source code only
For developers and those who particularly wish to compile the software.
Analysis specific notes
Currently v1 users will have to download the above gzipped tar file to do the installation. So you cannot currently update to v2 of Analysis from inside v1 of Analysis.
If the included installation script has problems with the C compilation, then copy ccpnmr/ccpnmr1.0/c/environment.txt to ccpnmr/ccpnmr2.0/c and run the installation script again, answering "n" (no) to the question about creating the environment file.
C API specfic notes
The C API uses the Python API, so is not quite as fast as a pure-C API would probably be. Further, on some computers you will need extra linking flags than might be expected in order for executables to correctly pick up the Python shared library files. For more details see:
For developers and those who wish to compile the software
Various software libraries external to CCPN are required for the releases that use Python. The graphical programs need Python and the Python Tcl/Tk libraries (Tkinter) and Analysis may be run with OpenGL libraries (or the equivalent Mesa package)
Note that on Mac OSX you should always use the Fink versions of Tcl/Tk and Python.
On many linux platforms it is often best to use external modules that come bundled with your linux distribution. These are usually obtained from the installation media or via network download. Examples of required linux packages are given below, but these vary with each distribution. If you cannot, or do not want to use bundled packages the following archives are available, which will install the required libraries with your CCPN istallation:
- Python - python2.6.tgz
- Numpy - numpy1.4.tgz
- Tcl/Tk - tcltk8.5.tgz
- Tix - tix8.4.tgz
- Mesa - mesa.6.0.tar.gz
If you use certain linux distributions, by far the easiest way to install the libraries required to compile CcpNmr software (if you have a network connection) is to use the command line programs like apt-get or yum. This will automatically download native software packages and satisfy any inter-package dependencies. For example, if you're using Ubuntu 8.04 to 10.04 you would issue the following command:
sudo apt-get install python-dev python-tk tk8.5-dev libx11-dev freeglut3-dev libglu1-mesa-dev
For Ubuntu 7.10 and earlier you would issue the following command:
Similarly, if you're using Fedora Core 6,7 or 8, all you need to do (usually as the root user) is to type at the command line: For Fedora Core 3 & 4 (5?) the equivalent would be: If you have the linux installation media you may also install the required packages with the RPM system, but you may have to resolve various dependencies manually. By way of example, to install the tcl development libraries you could type:
sudo apt-get install python-dev python-tk tk8.4-dev libx11-dev freeglut3-dev libglu1-mesa-dev
yum install python-devel freeglut-devel tcl-devel tk-devel tkinter libX11-devel mesa-libGLU-devel
yum install python-devel freeglut-devel tcl-devel tk-devel tkinter org-x11-Mesa-libGLU xorg-x11-devel
rpm -i tcl-devel-8.4.9-3.i386.rpm
Similarly, if you're using Fedora Core 6,7 or 8, all you need to do (usually as the root user) is to type at the command line:
For Fedora Core 3 & 4 (5?) the equivalent would be:
If you have the linux installation media you may also install the required packages with the RPM system, but you may have to resolve various dependencies manually. By way of example, to install the tcl development libraries you could type: