ug4
|
uginstall is a number of small shell scripts to install some software without having root. By now, it is very preliminary and not guaranteed to work on all machines.
To be able to use uginstall and the software it installs, you have to use the BASH Tools. See there for setup.
Before installing something, make sure things aren't already installed by some other user by checking the appropriate commands in the terminal (gcc –version
and cmake –version
).
After source ~/.bashrc
you can use, e.g.
which installs doxygen 1.8 in ~/local/doxygen
. Here again, you'll have to use source ~/.bashrc
. If you want to uninstall doxygen, just delete ~/local/doxygen/
.
Syntax is
Where APP can be
Following steps are made for each installation of a programm APP:
uginstall_config will then set PATH, LDFLAGS, LD_RUN_PATH, LIBRARY_PATH, and LD_LIBRARY_PATH so you can use the program and the libs. You might need to open up a new console to reset these variables.
Sometimes it is not possible to access the internet from a cluster. With the option -fromSvn
, uginstall downloads the source archive from a server at the G-CSC named AG Queisser via
softwareServer is set to 141.2.38.55
by default. You can change this with -macServer x.x.x.x
. It is also possible to download the archives from our svn server, with the option -fromSvn
, then uginstall uses
svnServer is set to fuji.gcsc.uni-frankfurt.de
by default. You can change this with -svnServer
.
This is especially usefull when clusters do not allow internet connections and you have to use SVN tunneling. So you connect to your cluster with
and there you can use uginstall with
You can use uginstall also in cmake files. e.g. in the plugin experimental/superlu, when the plugin is activated with cmake -DSuperLU=ON ..
, it automatically installs the SuperLU library. This is done with
See for documentation the superlu cmake file and cmake/ug_plugin_includes.cmake .
If you want to add programs to the list, you have to add it to the files uginstall and uginstall_config.
To make it possible to use it on clusters which don't allow internet acces, also add the source archive to /Users/software/Software/uginstall/
on the Software Server (MacPro AG Queisser) and to the SVN svn://fuji.gcsc.uni-frankfurt.de/misc/uginstall
.