beast2 icon indicating copy to clipboard operation
beast2 copied to clipboard

how to install packages globally

Open fizwit opened this issue 4 years ago • 4 comments

  • 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?

fizwit avatar Aug 06 '20 23:08 fizwit

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.

rbouckaert avatar Aug 09 '20 19:08 rbouckaert

How is the path to /usr/local/share/beast/2.6 configured? We do not use the default locations.

fizwit avatar Aug 10 '20 17:08 fizwit

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

wook2014 avatar Sep 24 '21 15:09 wook2014

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.

rbouckaert avatar Sep 24 '21 22:09 rbouckaert