Am I going blind? am I blind all ready
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, Linux can be very frustrating to the beginner, I am making head way (I think) but still have a list of things I need to fix up. try http://homepages.paradise.net.nz/erichard/linux.html -- From Eric (KMail 1.4.3 in Linux, SuSE 8.1) http://www.oh-bugger.net.nz http://homepages.paradise.net.nz/erichard/ NO ATTACHMENT WAS SENT WITH THIS EMAIL IF THERE IS ONE IT IS A UNDETECTED VIRUS, IF THERE IS ONE PLEASE LET ME KNOW ....
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
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
On Saturday 07 December 2002 00.57, Karol Pietrzak wrote:
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:
It's not in the /usr/lib description, it's in the /usr/local description <quote> Software placed in / or /usr may be overwritten by system upgrades (though we recommend that distributions do not overwrite data in /etc under these circumstances). For this reason, local software must not be placed outside of /usr/local without good reason. </quote> Anders
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,
Linux can be very frustrating to the beginner, I am making head way (I think) but still have a list of things I need to fix up.
it depends.........for most things that aren't daemons.../opt is fine for stuff that works with daemons, it could need to be installed in a distro specific directory. I've learned the suse and redhat nuances for the past few years.......I don't intend to change to any other distro for exactly this reason! It really sucks when you have to remember stuff for solaris, hpux, win2k, linux.......you get the idea! to be safe.......for the beginner...stick to RPM's from the vendor if possible...in this case suse. They have tons of apps....they should meet most new users curiousity. good luck, Oskar
participants (4)
-
Anders Johansson
-
Eric Richards
-
Karol Pietrzak
-
Oskar Teran