On Friday 06 December 2002 17:54, Anders Johansson wrote:
This is dictated by the Filesystem Hierarchy Standard (http://www.pathname.com/fhs/)
You, meaning the user/administrator of the system, should never install things in /usr/lib. That is reserved for the distributor of the OS. /usr/lib may be completely wiped out by an upgrade, and your locally installed software would be gone.
I'm sorry: I couldn't find this at the /usr/lib FHS description: At any rate, it appears one of SuSE's packages breaks the FHS (and, thusly, the LSB). pkgconfig's directory is /usr/lib/pkgconfig/. By the FHS, "/usr/lib includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts." --http://www.pathname.com/fhs/2.2/fhs-4.7.html I tried checking what the LSB adds to this (if anything), but http://www.linuxbase.org seems to be down.
/opt can also be used for this, as distributions are forbidden by the FHS to touch software installed locally under /opt, but it's not very common to do so.
Very true. Software installed in /opt should not be overridden: "Distributions may install software in /opt, but must not modify or delete software installed by the local system administrator without the assent of the local system administrator. " --http://www.pathname.com/fhs/2.2/fhs-3.12.htm -- Karol Pietrzak <noodlez84@earthlink.net> PGP KeyID: 3A1446A0