Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Serious newbie question I checked out the Filesystem Hierarchy Standard document, but I still don't quite get what /usr/local is all about. It says:
The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr.
Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.
What does that mean, "installing software locally"? As opposed to what..? Installing it remotely?
Could someone explain this in dummy terms? Thanks!
I m little cofused,when i extract the tar file with the command of (tar xvf filename).After this i did't know how i apply ./configure,make and makeinstall file.please give me some guidelines.
The /usr directory is where the app installed by the distribution stands.
The /usr/local directory is where the app installed (compiled?) by the system admin stands.
For ex. if you download mplayer and do a ./configure - make - make install it comes to the /usr/local.
Could someone confirm if this is correct?
I dunno, LinuxPackages.net tells you that apps tend to want to install into /usr/local, but this is bad.
Actually, that other thread doesn't seem related to mine.. I'm not talking about networking machines. I'm just not clear on the difference between /usr and /usr/local. Here's what LinuxPackages says about /usr/local, with regards to creating slackpacks:
...most programs will install to /usr/local by default. We don't want this since we are going to let others use this package /usr/local is off limits basically for packages that others will be using. This is outlined in the FHB.(sic)
The original idea behind '/usr/local' was to have a separate ('local') '/usr' directory on every machine besides '/usr', which might be just mounted read-only from somewhere else. It copies the structure of '/usr'. These days, '/usr/local' is widely regarded as a good place in which to keep self-compiled or third-party programs. The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr. Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.