John Von Essen on 24 Jan 2006 15:00:11 -0000


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

Re: [PLUG] /usr/local vs. /opt


Well, oracle goes in /u01 - but thats a different story all together.

/opt is big in the Sun world. Sun likes /usr/local for non-core system
things, while /opt is used for everything else.

You cant get away from it because alot of Sun packages are built to
install in /opt.

Outside of Sun, I would only use /usr/local.

-John

On Tue, 24 Jan 2006, Douglas Muth wrote:

> On 1/24/06, Art Alexion <art.alexion@verizon.net> wrote:
> > I have been led to believe that the /usr/local branch is where packages
> > that aren't part of a distro should be installed.  I put custom scripts
> > in /usr/local/bin for that reason.
> >
> > But I have also been told that's the purpose of the /opt branch.
> >
> > What is the difference between these two and when should one use which?
> >
>
> According to http://www.pathname.com/fhs/pub/fhs-2.3.html, /opt is for
> "add on software packages", while /usr/local/ is "for use by the
> system administrator when installing software locally".
>
> I interpret that as a commercial software package (such as say,
> Oracle) would go in /opt, while building and compiling something from
> source (like say, Apache) would go in /usr/local/.
>
> -- Doug
> ___________________________________________________________________________
> 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
>
>
___________________________________________________________________________
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