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...
|
- From: "Burris, Gavin via plug" <plug@lists.phillylinux.org>
- To: Fred Stluka <fred@bristle.com>
- Subject: Re: [PLUG] One app, one directory, no install/uninstall...
- Date: Thu, 21 May 2020 15:07:28 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wharton.upenn.edu; dmarc=pass action=none header.from=wharton.upenn.edu; dkim=pass header.d=wharton.upenn.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w4Pveye3TOjqUyxpGasdAkbRH4ef4hcei07MhlPPyK4=; b=QpwD8Am0s0/2M9rq2CJYV/KdUP589BCNWDrYf3lxe614BwRjDZkI7E9Yt7FgclyrfRBmhs7XXepQr/9iFTe60KRI9yNuUd9pQyykKFJyQAjqiHauMra8xpifhM0p+1+GUGCprSw6N4URzotmGPndswzWwN1Zay2Cp88ITemWiwy2GaUgD/npPyKJImquEH9rpYxH9r+PSdF1MKvbb6tALFXvYAAeiTKXUCy98gqgrcU7I7LJmrsuq9K00iPB5sVnTihzo7Ga+MBr+iah8i7PUVB58i2x2h5BhpyF5mc6qgVqYNUn2PXC+Ntio4mjzssSQmPK2/rFc+h/yL0QYXOQLw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ffFSMvOIDm9vv0nyVE5jqK0M5MiRhOigv/WKpeDdF+BNzhtLBY0NSLEkTEeExp34i9E0Zj5ZEjm2BSZTRbfrH38prxrOygVOACoCexRfMc508gdHHmFI+zMqE4lg003wRZB3+aoFKy1Y51SDcv1JWKdL4JYeBx0n+Wqn9t6zzny3e7CMXH36TnU753wqrNSHCZMoDaOHLOx9UpMeyFI7BmIVkALAKGC///jQpmTHPqdqJoTVr5BO+Yliq0csBQa6/EZ0Oy7HDvZDVa5rJPgy9UAAtYxzYMfRGI9jkMZmBt/L0tXyX5ouDC1+XNljDpyPi4RR7crEFj7P6ULtqnI+hw==
- Authentication-results: bristle.com; dkim=none (message not signed) header.d=none;bristle.com; dmarc=none action=none header.from=wharton.upenn.edu;
- Cc: PLUG -- Philly Linux Users Group <plug@lists.phillylinux.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=PennO365.onmicrosoft.com; s=selector2-PennO365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w4Pveye3TOjqUyxpGasdAkbRH4ef4hcei07MhlPPyK4=; b=ZZMQYcgsZXYGtYOA09kgUMqm4oX9z+uCokihRBEhi4o19otmw4BXIAObyrjgmLhxnNjHOxg6aApcofb1IljrZjqZ27Fscp0CRqP8p7bn5RmmW2OgrP8M2PE7dZkyNasMHbzLxx+JGxBcnukGL4vbDL7h75/Dcs/NTUIPzqS9UEI=
- Reply-to: "Burris, Gavin" <bug@wharton.upenn.edu>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
- Thread-index: AQHWLsJbPfO5bXfx+Ey1usEjm2uPY6iypZAA
- Thread-topic: [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