You are on page 1of 2

Go to /etc, open terminal:

su
gedit csh.cshrc

Copy and past of fllowing:

setenv ARIA2 /home/hanmin/aria2.3


alias aria2 'python /home/hanmin/aria2.3/aria2.py'
setenv CCPNMR_TOP_DIR /home/hanmin/ccpnmr
setenv LD_LIBRARY_PATH
/home/hanmin/ccpnmr/tcl8.5/lib:/home/hanmin/ccpnmr/tk8.5/lib:/home/hanmin/ccpnmr/tc
l8.5/lib/Tix8.4.3
setenv TCL_LIBRARY /home/hanmin/ccpnmr/tcl8.5/lib/tcl8.5
setenv TK_LIBRARY /home/hanmin/ccpnmr/tk8.5/lib/tk8.5
setenv PATH /home/hanmin/ccpnmr/bin:${PATH}
setenv PYTHONPATH /home/hanmin/ccpnmr/python2.6/lib/python2.6/lib-dynload

ARIA2.3
a) Extract "analysis2.2.2.tar.gz" and move "ccpnmr" to /home/hanmin
b) Replace importFromCcpn.py and exportToCcpn.py of the same name in the ARIA
installation at src/py/aria/

c) The ARIA fortran sources are located in the subdirectory ./cns/src of


the distribution. Please copy all the files to the directory
cns_solve_1.1/source of the unpacked cns_solve distribution (this will
overwrite some files which is okay).

d) Edit the file "cns_solve_env" in the directory cns_solve_1.1 to define the


location of the CNSsolve directory.

e) Go to directory cns_solve_1.1 and type "make install". This should start


the compilation process.

CCPnmr

a) Extract "analysis2.2.2.tar.gz" and move "ccpnmr" to /home/hanmin

b) Copy extracted "numpy-1.6.1.tar.gz, python2.6.tgz, tcltk8.5.tgz and Tix8.4.3-


src.tar.gz" files into /home/hanmin/ccpnmr

C) cd tcl8.5.8/unix
./configure --prefix=/home/hanmin/ccpnmr/tcl8.5
make
make install

d) cd tk8.5.8/unix
./configure --prefix=/home/hanmin/ccpnmr/tk8.5 --with-
tcl=/home/hanmin/ccpnmr/tcl8.5/lib
make
make install

e) cd Tix8.4.3
./configure --prefix=/home/hanmin/ccpnmr/tk8.5 --with-
tcl=/home/hanmin/ccpnmr/tcl8.5/lib --x-includes=/usr/X11R6/include --x-
libraries=/usr/X11R6/lib
make
make install

f) cd Python-2.6.5
./configure --prefix=/home/hanmin/ccpnmr/python2.6
make
make install

g) cd numpy-1.6.1
/home/hanmin/ccpnmr/python2.6/bin/python setup.py build
/home/hanmin/ccpnmr/python2.6/bin/python setup.py install

h) cd ccpnmr
python installCode.py analysis

You might also like