Installation of Jmol 11.7.46
Additional libraries
Java, already installed.
Procedure
Here is the procedure to install Jmol:
- Jmol is distributed as a JAR archive, ready to execute through a startup script. Create a folder under
/home/bioubuntuto put all this and move this folder into/opt/bio/sources.
- This shoulder should belong to
rootand its permissions set to755.
% sudo chown -R root:root /opt/bio/sources/jmol-11.7.46 % sudo chmod 755 /opt/bio/sources/jmol-11.7.46
- Once you are in
/opt/bio/sources/jmol-11.7.46, thejmolscript 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-11.7.46
- To make sure that
jmolis available to all, do this:
% sudo ln -s /opt/bio/sources/jmol-11.7.46/jmol /usr/local/bin/jmol
- To add Jmol to the Impilo application menu, you need to edit the Xfce4 configuration file:
% sudo xfce4-menueditor /etc/xdg/xfce4/desktop/menu.xml
- The three items to add are:
- Item: Launcher
- Name: Jmol
- Command: jmol