I'm starting to use "modules" to handle this problem; one installs software
in, say, /opt/pkg/@PACKAGE@/@VERSION@/ and then updates a small file in,
say, /opt/modules/modulfiles/@PACKAGE@/@VERSION@ (this is a file, not a
directory), and then the "modules" script handles setting up the PATH,
MANPATH, LD_LIBRARY_PATH, and ay other needed envariables.

Once over the initial learning curve, it looks pretty good.

There are still issues that I need to figure out (like what to do about
packges that need things like perl or tcl/tk), but it does provide a good
way to leave "production" along while testing out new code on the same
machine and keeping everything running.

It's available at:

  http://metalab.unc.edu/pub/linux/utils/shell/

and look for something beginnging with:

  modules-3.0.7-rko

H

Reply via email to