Search the web
Sign In
New User? Sign Up
rpm-list · Redhat RPM List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Standard Install Directory   Message List  
Reply | Forward Message #12969 of 26827 |
Re: Standard Install Directory

On Tue, 20 Feb 2001, Koegler, Eric E wrote:

> What is the standard installation directory for Linux applications?
>
> I package a compiler which ships with an installation script with a default
> installation directory of /usr/local. I've been told that this is not
> appropriate, but rather /opt is. (www.pathname.com/fhs) However, the Linux
> Directory Tree in O'Reilly's 'Learning Linux' doesn't even list the /opt
> directory. Thanks.
>
> - - E r i c
>
>
The book most likely pre-date the fhs... For a program like yours, the
/opt is probably better. /usr/local is more for local custom packages.
I like to use the /usr/local tree for machine/system dependent packages,
and packages I create myself that I don't bother to create an RPM for.
That way, I (hopefully) know whare the files came from, and I am
responsible for managing them.

For a package like yours, the /opt tree means that everything is in one
sub-tree. It makes management of that package easy. If I want to
remove it, I know all the files will be in /opt/<package name>, and
posibly some symlinks in /opt/bin, /opt/sbin, etc... I also know where
to look for an uninstall script if there is one.


Mikkel
--

Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.



_______________________________________________
Rpm-list mailing list
Rpm-list@...
https://listman.redhat.com/mailman/listinfo/rpm-list



Tue Feb 20, 2001 11:21 pm

mikkel@...
Send Email Send Email

Forward
Message #12969 of 26827 |
Expand Messages Author Sort by Date

What is the standard installation directory for Linux applications? I package a compiler which ships with an installation script with a default installation...
Koegler, Eric E
eric.e.koegler@...
Send Email
Feb 20, 2001
10:56 pm

... The book most likely pre-date the fhs... For a program like yours, the /opt is probably better. /usr/local is more for local custom packages. I like to...
Mikkel L. Ellertson
mikkel@...
Send Email
Feb 20, 2001
11:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help