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