Burris, Gavin via plug on 21 May 2020 08:07:36 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] One app, one directory, no install/uninstall...


On Mon 05/18/20 07:13PM EDT, Fred Stluka via plug wrote:
> Yeah, the idea of "one app, one directory" is VERY appealing.
> That's pretty much how the Java world works, and DOS and
> VMS before them.

Hi, Fred.

It's like this on modern Linux, too.  This is standard practice at a lot of the larger computing sites.  You do the usual untar, configure, make install steps, while setting the configure --prefix to equal a dedicated directory, like /opt/some-app-1.2.3.  Then you end up with everything installed under its own top level directory.  This app directory is then rsync'd to other nodes, or /opt is NFS mounted on all nodes.  The trick is setting the environment for binaries and libraries, by prepending to PATH and LD_LIBRARY_PATH.  This can be done with profile.d scripts or loadable environment-modules.

Check this out:
https://www.admin-magazine.com/HPC/Articles/Environment-Modules

Cheers.
-- 
Gavin W. Burris
Senior Project Leader for Research Computing
The Wharton School
University of Pennsylvania
Search our documentation: http://research-it.wharton.upenn.edu/about/
Subscribe to the Newsletter: http://whr.tn/ResearchNewsletterSubscribe
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug