Re: /usr/local vs. /opt

From: Les Mikesell (lesmikesell_at_gmail.com)
Date: 09/16/05

  • Next message: Bryan White: "Yum install getting GPG error"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Fri, 16 Sep 2005 08:14:59 -0500
    
    

    On Fri, 2005-09-16 at 07:54, David Mackintosh wrote:
    > > Given a choice in locations, where should I opt to install RPM packages, and
    > > where should non-RPM software go?
    >
    > Wherever you think you'll find it later. :)
    >
    > We've gone through several iterations here. If the software is going
    > to be used by multiple machines, I put it in /usr/local because my
    > /usr/local tree is nfs-shared across my network. (Yes, I'm grimly
    > aware of a non-local 'local' directory.) If it is a major package
    > that is likely to be superceded by a superior version in the future,
    > it generally gets installed into /tools which is an autofs, and users
    > get directed to manipulate their environments so that they can use
    > the appropriate version. If it is going to be run locally, or is
    > important that it only run locally (because it keeps some kind of
    > state that is important), then it gets installed in /opt.
    >
    > No matter what you chose, someone will always have an excellent
    > reason why it should go somewhere else.

    Exactly. This is sort of like asking what private IP address
    range you should use for a local network. In that case the
    answer is one that isn't used by a company you might merge
    with... Likewise for software you just need to use a space
    that no one else will use. Things that install from source
    usually go under /usr/local by default with a configure
    option to move elsewhere. Packaged items that aren't part
    of a standard distribution often go under /opt.

    -- 
      Les Mikesell
        lesmikesell@gmail.com
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bryan White: "Yum install getting GPG error"

    Relevant Pages

    • FS: Complete Linux Recording Package Ready To Roll.
      ... How to install Rehmudi-2.0 ... if you don't have any sound, ... dependencies of Agnula Packages ... ... from the new kernel. ...
      (comp.os.linux.misc)
    • Re: Complete Linux Recording Package Ready To Roll.
      ... How to install Rehmudi-2.0 ... if you don't have any sound, ... dependencies of Agnula Packages ... ... from the new kernel. ...
      (comp.os.linux.misc)
    • Which debian sources to use to install to Knoppix 4.0.2?
      ... running into a problem when I install software to version 4.0.2 that I ... Check out the list of extra packages to be installed, ... akregator ark cupsys cupsys-bsd cupsys-client gcc-4.0-base gs-common ... kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh kdf ...
      (comp.os.linux.misc)
    • Apt Gone Mad?-Or Is It Me?-Expert Help Needed
      ... So tried to upgrade OO to 2.0 but Apt refused to do so. ... Aptitude doesn't show anything but Wajig shows unmet dependency for kdelibs-data. ... The following packages are unused and will be REMOVED: agsync arson barcode brahms cdda2wav cddb digikam digikamimageplugins gmessage guarddog guidedog hotswap-gui hotswap-text i2e id3v2 kbarcode kbear kbiff kdebase-dev kdirstat kile kimdaba klog klogic kmymoney2 knetfilter knutclient komba2 kover kprof kpsk krusader ksimus ksimus-boolean ksimus-datarecorder ksimus-floatingpoint ksocrat ksocrat-data kvdr kvirc kvirc-data kvirc-doc kwavecontrol kxmleditor lesstif2 libdynamite libimlib2-dev libkonq4-dev libmimedir liborange ... ChatagnierL-Home:/temp# wajig install openoffice.org Reading Package Lists... ...
      (Debian-User)
    • Re: Debian or Ubuntu Dilemma
      ... Debian Stable < Ubuntu < Debian Testing/Unstable < Any Distro w/mutt packaging ... You'll eventually have to compile a few packages with any distro (from Debian ... Ubuntu seems to be a good balance if its default install does almost ...
      (Debian-User)