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.


On Tue, 24 Jan 2006, Douglas Muth wrote:

> On 1/24/06, Art Alexion <> 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, /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         --
> Announcements -
> General Discussion  --
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --