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

Re: /opt/ again (was Re: FreeBSD-like approach for Debian? [was: ...])



>>>Steve Lamb wrote:
 > Tuesday, September 14, 1999, 11:20:08 AM, Raul wrote:
 > the same directories that the local administrator may use in /usr/local.
 > Meanwhile, all /opt does is clutter up the tree because some yahoo thought
 > that /usr/local wasn't good enough.

You men some yahoo that had wander into and took over a running system
(kritical tothe operation) that had a nice /usr/local/bin that
caontained around 1000 binaries (several programs i alot of versions)
and that got the insigt that a simple /usr/local stucture does not work.

Demans on the system are i.m.h.o.  (The names are just an exaple)

* One directory for the uses path (/usr/local/bin/)
* One installations point per software packet (/opt/package)
* One directory per version (/opt/package/version)
* A easy way to select the default version (ln -s version/* .)
* One easy way to remove a package version (rm -rf /opt/package/version)


Optiona thing that are good
* It's also good if a user could select different versions of specific
  packages.
   -  export PATH=/opt/package/version:$PATH
   -  (cd ~/bin ; ls -s /opt/package/version/bin/* .)
* The package hiracry couls be sheras by several hosts (i.e. /opt
  readonly)

My solution sadly seens to need some changes to some software.

/ Balp


Reply to: