On Saturday 07 December 2002 00.40, Eric Richards wrote:
I got the 8.1 professional version with two main books
but I don't seem to find in the books, just a few page I feel all that is needed on were to install programs, for example would you use /opt or /usr if you use /usr would you put it in /usr/lib or /usr/local or would you put it somewhere else,
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. /usr/local on the other hand is forbidden territory for the distributor. That is the primary location for your locally installed software. The exception according to the FHS is if you install something locally that is an upgrade to a package provided by the distributor. That can (perhaps even should) be placed in the same location as the originally distributed package. /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. On the whole, I prefer /usr/local for things I compile myself. Anders