Installation of Pymol 1.3
Additional libraries
tcl8.5
tcl8.5-dev
tk8.5
tk8.5-dev
freeglut3
freeglut3-dev
libfreetype6
libfreetype6-dev
python-pmw
subversion
% sudo apt-get install -y tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev freeglut3 freeglut3-dev libfreetype6 libfreetype6-dev python-pmw subversion
Procédure
Always this question: package vs source code… In previous installs, I used the pymol
package via apt-get
. However, this package is always a little late compared to soruce code. I decide to tackle the problem head-on and built pymol
from source code:
- You need to fetch the source code from the SCM repository on sourceforge.net:
% svn co https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol pymol
- You will find a
pymol
folder in your home folder. This new folder needs to move toward/opt/bio/sources
, should belong toroot
ant its permissions set to755
:
% sudo mv pymol /opt/bio/sources % sudo chown -R root:root /opt/bio/sources/pymol % sudo chmod 755 /opt/bio/sources/pymol
- You need to do the compiling:
% cd /opt/bio/sources/pymol % sudo python setup.py install // This will take some time to do... % sudo python setup2.py install
- You need to make the newly created executable available to all:
% sudo ln -s /opt/bio/sources/pymol/pymol /usr/local/bin/pymol
- You need to add
pymol
to the Impilo > 2D/3D Molecule analysis- À venir
- To use
pymol
from the command line:
% pymol