Software installations as user
Frequently, research software as e.g. several different versions of Monte Carlo generators, experiment frameworks or e.g. CERN Root is installed best as user, requiring of course management of the individual environments. This can provide some headache, that is reduced with the following shell functions.
use
This functions eases the setup of the environments for installations, so that
the temptation/necessity to add default environments to .bashrc
is reduced.
adding e.g. a file root
in the folder given in INIT_SCRIPT_DIR
with
contents
will allow to activate the specific software by $use root
.
addbin, addld and addpy
These functions abbreviate the adding of new directories to the respective search paths, and thus writing the scripts for the use function.
These can be used e.g. in the .bashrc
: