Installation of Jmol 12.0.2
Additional libraries
Java, already installed.
Procedure
Here is the procedure to install Jmol:
- Jmol is distributed as a JAR archive, ready to be run from a startup script. On Jmol's Sourceforge site, you need to get the
Jmol-12.0.2-binary.tar.gzfile. Once decompressed, you wil have ajmol-12.0.2folder which need sto be moved toward/opt/bio/sources.
% tar -zxvf Jmol-12.0.2-binary.tar.gz % sudo mv jmol-12.0.2 /opt/bio/sources
- This shoulder should belong to
rootand its permissions set to755.
% sudo chown -R root:root /opt/bio/sources/jmol-12.0.2 % sudo chmod 755 /opt/bio/sources/jmol-12.0.2
- Once you are in
/opt/bio/sources/jmol-12.0.2, thejmol.shscript needs to be edited to add aJMOL_HOMEbash environment variable. At the very top, just under the#!/bin/shline, add this line:
export JMOL_HOME=/opt/bio/sources/jmol-12.0.2
- To make sure that
jmolis available to all, do this:
% sudo ln -s /opt/bio/sources/jmol-12.0.2/jmol.sh /usr/local/bin/runJmol
- To add Jmol to the Impilo application menu, you need to edit the Xfce4 configuration file:
- More to come…
- To use Jmol from the command line:
% runJmol