Installation of STRAP Compilation 07.08.09
Additional libraries
Java, which is already installed.
Procedure
Here is the procedure to install STRAP:
- STRAP is distributed as a JAR archive, with the program ready to run. Create a folder under
/home/bioubuntu
, move the JAR file in it and move the folder in/opt/bio/sources
.
- This folder should belong to
root
and its permissions set to755
.
% sudo chown -R root:root /opt/bio/sources/strap % sudo chmod 755 /opt/bio/sources/strap
- Once you are in
/opt/bio/sources/strap
, create a small script to ease the use of STRAP:
% sudo nano runStrap
- Put these lines in the file:
#!/bin/sh java -jar /opt/bio/sources/strap/strap.jar
- You need to make this script executable and available to all:
% sudo chmod ugo+x runStrap % sudo ln -s /opt/bio/sources/strap/runStrap /usr/local/bin/runStrap
- To add STRAP to the Impilo application menu, modify the Xfce4 configuration file:
% sudo xfce4-menueditor /etc/xdg/xfce4/desktop/menu.xml
- The three things that need to be add are :
- Item: Launcher
- Name: STRAP
- Command: runStrap