Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I was simply wondering about the Home directory. I had assumed its use was for the user's personal files and programs, but I am rethinking that idea. What precisely is Home for? I mean I suppose I could download the firefox tarball and install it in a directory off Home, but I thought the /usr directory was where programs are supposed to be installed to! If any of this is giving people a chuckle, no worries. Coming in from a windows background to a real operating system is bound to produce a few questions like this.
While I am at it, when the verbose logon sequence says "starting the shorewall firewall", IS it truly started or do I have to do something further with netfilter? There is nothing server related running on the linux box like an ftp server etc.
Yeah - $HOME holds your personal configuration data (dotfiles), your personal files, and anything you want to put there.
As far as apps, while you can certainly put them in /usr or anywhere else, /usr/local (under /usr) is specifcally where you might put add-on apps (at least that you compile yourself rather than through your distro's package management tools) but you'd need to have root access (which, on a multi-user box, you might not) whereas you can also install stuff in $HOME with your regular user account.
Not sure about shorewall, though.
-- Oh, and don't worry about the questions - it's all very confusing at first and that's okay. (Actually, it can be slightly confusing for a long time ) - welcome to LQ!
If it does not perform a system function, or help with system administration, and is only for me and not other users, I'd put it in my /home. Also, anything which I don't fully trust goes /home.
Anything which does a system function, or needs to be usable for more than one user, goes in /usr.
As far as Firefox goes, I installed it in /usr, because more than one user will be using it, and I trust it. But I just installed Morphon XML editor in my /home directory, because no other user's going to want to use it, and I don't know if it is stable.
That's my philosophy, anyway.
Last edited by jlangelier; 01-04-2005 at 12:15 AM.
The directory /home is usually where all your user's data will be stored, but you can place users in another directory like /usr. The directory /usr is usually for programs, but again it can be the home of all your users.
Like in Windows, it is up to you. Where do you think it should go. In Windows, programs do not have to be installed in C:\Program Files. It can go into another directory like C:\System. See you can put programs any where you like, but the location for the program should be obvious to you when it comes time to use the program.
I place Firefox in /usr/local and I made a symbolic from /usr/local/bin to Firefox directory. This way seems obvious to me.
You do not need a firewall unless you do not have one. I suggest do not run shorewall if you already have a firewall.
The $HOME is an environment variable. It points to where ever the user has been created at.
Thank you all for your replies, this does indeed simplify things.
My only remaining question is with the firewall, although I don't have one except shorewall. BTW this is a single user box ( ME! and no one else ). The reason I am a little stuck on the firewall is in Windows I had ZoneALarm which gave adequate protection, well that and being behind a router helped too! The Linux box will also be behind a router. WIth shorewall on a single user machine, is it sufficient? Also does it have a GUI or table or layout to see what ports are blocked, what programs were blocked, or not blocked. If so, where would I find that? Sorry to be a pain but the reference manual from mandrake is not really full of security information. Last question is what is one of the better Anti Virus programs out there for Linux, I was thinking of using Fprot AV as it is free and they provide free updates but I am open to suggestions.