Re: /usr/local vs. /opt

From: James Wilkinson (fedora_at_westexe.demon.co.uk)
Date: 09/16/05

  • Next message: Hongwei Li: "Re: FC4 error?"
    Date: Fri, 16 Sep 2005 17:28:46 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    David Mackintosh wrote:
    > 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.)

    It *is* local. It's *site*-local.

    The File Hierarchy Standard says:
        The /usr/local hierarchy is for use by the system administrator when
        installing software locally. It needs to be safe from being
        overwritten when the system software is updated. It may be used for
        programs and data that are shareable amongst a group of hosts, but
        not found in /usr.
    http://www.pathname.com/fhs/pub/fhs-2.3.txt.gz

    Incidentally, my rule of thumb is that if a program's files are arranged
    Unix-style, with binaries in /usr/local/bin or /usr/local/sbin,
    libraries in /usr/local/lib, man pages in /usr/local/man, etc., then
    the program can go in /usr/local.

    Other packages (usually from the commercial world) which like to have
    all their files under one directory can have the directory in /opt.

    So if I install RealPlayer from the tar file, it goes under /opt. I
    haven't had the privilege of installing Oracle on *ix, but it looks like
    it ought to go in /opt, too.

    James.

    -- 
    E-mail address: james | Legacy (adj):
    @westexe.demon.co.uk  | an uncomplimentary computer-industry epithet that
                          | means 'it works'.
                          |     -- Anthony DeBoer
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Hongwei Li: "Re: FC4 error?"

    Relevant Pages

    • Re: Who has installed (and uses) the New Amplifone flybacks?
      ... which uses a makeshift 25" amplifone w/ tube from a WGU5000. ... James H. ... am curious of what folks think after installing them, ...
      (rec.games.video.arcade.collecting)
    • Re: Who has installed (and uses) the New Amplifone flybacks?
      ... which uses a makeshift 25" amplifone w/ tube from a WGU5000. ... James H. ... am curious of what folks think after installing them, ...
      (rec.games.video.arcade.collecting)
    • Re: Disable MS updates
      ... > James wrote: ... I'm not all that against installing SP3 ... > not accepting the EULA, or, by preventing MS ...
      (microsoft.public.security)
    • Re: .Net 2.0 Framework and SBS 2003 sp1
      ... James - ... Installing the .NET 2.0 Framework ... >> doesn't remove your existing .NET Framework - the two can run side by ... >>> I'd like to install the Microsoft CRM Mobile Express on my SBS ...
      (microsoft.public.windows.server.sbs)