beast2
beast2 copied to clipboard
how to install packages globally
-
Packagemanager command seems to work for installing packages. The packages visible in the file system at $BEAST_LIB packagemanager -add SSM -dir $BEAST_LIB
-
but after the package install, Packagemanager does not see it, and Beast does not see the package
-
When starting Beast it does not display that SSM is being loaded packagemanager -list SSM | NA | 1.1.0
How can packages be installed for Linux cluster so that all users can see and use the packages? How can EVERY Beast package be installed into a shared location for use on a LInux cluster?
By default, the system package directory is /usr/local/share/beast/2.6
(for the current version of BEAST). So, if you install packages there, every user of the system will be able to see it by default. Be aware that if users upgrade packages through the package manager or BEAUti, they will go in their user package directory, which is ~/.beast/2.6
by default.
How is the path to /usr/local/share/beast/2.6 configured? We do not use the default locations.
I have found a command 'addonmanager' in the offical page : https://beast2.blogs.auckland.ac.nz/managing-packages/ but I cannot find out how to run this command.
Usage: addonmanager [-list] [-add ] [-del ] [-useAppDir] [-dir] [-help] -list List available add-ons -add Install the add-on -del Uninstall the add-on -useAppDir Use application (system wide) installation directory. Note this requires writing rights to the application directory. If not specified, the user's BEAST directory will be used. -dir Install/uninstall add-on in direcotry
The website https://beast2.blogs.auckland.ac.nz/ is deprecated. Please have a look at beast2.org which has an updated version of the package management page.
addonmanager
changed its name and is now called packagemanager
.