LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 01-12-2004, 12:34 PM   #1
grapier
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Rep: Reputation: 0
and some Linux maintenance questions...


Hello all,

Newbie with fedora installed a few days ago. I'd like to obtain some wisdom on organizing a linux box. These will be pretty dumb questions, I'm sure For example:

1. Where should I install my programs? How do you organize your programs directory (if one exists?) In windows they throw everything into Program Files; is there an equivalent here?

2. What's the difference between /bin and /usr/bin? Same with /lib and /usr/lib, etc.

3. What kind of files should I put under /usr/home/[login], and what kind of files should I not?

4. How often should I update the kernel? Doesn't doing this break a lot of dependencies, etc.? Would I have to reinstall quite a few programs?

That should be quite enough for now Thanks in advance!
 
Old 01-12-2004, 12:51 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
1) they will choose where they want to go, there is no need to change their default paths. these will typically be /bin, /usr/bin, /usr/local/bin etc.... depending on what kind of program they are.

2) ack... well... /bin = core utilities, rm, ls, modprobe... the essential tools. /usr/bin is generally additinoal applications, frilly bits....

3) none, as it doesn't exist.... /home/user is your "My Documents" in a way... you can generally use it as such.

4) you don't have to if you don't want to. as you're running fedora you should find it easy enough to update it via the standard rpm's as and when they are released. Generally this is only a security viewpoint. Always freee to take the angle "if it ain't broke don't fix it". you shouldn't need to install programs again. that is more liekly if you were to update the main libraries, such as glibc.
 
Old 01-12-2004, 12:57 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: and some Linux maintenance questions...

Quote:
Originally posted by grapier
1. Where should I install my programs? How do you organize your programs directory (if one exists?) In windows they throw everything into Program Files; is there an equivalent here?
You're using a RPM based distro, thus shouldn't
worry about where to put what too much ;)
In basic words - most programs will land in /usr/bin.

Quote:
2. What's the difference between /bin and /usr/bin? Same with /lib and /usr/lib, etc.
As a rule of thumb: the more basic (core) functionality
things like ls, bash, cp and such will live in the /bin (/lib)
version of the directories, /usr homed programs and libs
are more likely to be stuff that adds functionality.

Quote:
3. What kind of files should I put under /usr/home/[login], and what kind of files should I not?
Everything that's for your eyes only, programs that you
don't want to be system wide, ....

Quote:
4. How often should I update the kernel? Doesn't doing this break a lot of dependencies, etc.? Would I have to reinstall quite a few programs?
Strangely enough, there's no set rule... upgrade the kernel
if some hardware requires it, if some exploit that you might
be exposed to is fixed ... no, the kernel doesn't have too
many dependencies ... the vast majority of programs installed
on your machine is likely to be only userland ...


Cheers,
Tink
 
Old 01-12-2004, 01:10 PM   #4
grapier
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for your replies!

Some programs seem to offer different versions for different versions of the kernel (for example, the linux-ntsf package). Would updating the kernel break such packages?
 
Old 01-12-2004, 02:23 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no. but of course if a program relies on a protocol or function that is in one kernel and not another than it won't work on the latter...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintenance of linux box Belize Linux - General 3 10-24-2005 11:12 AM
Linux maintenance Ageless Linux - Newbie 7 04-29-2005 10:52 AM
Linux maintenance? voyciz Linux - Newbie 6 06-23-2004 12:05 AM
Linux Server Maintenance JJX Linux - General 2 06-08-2004 04:18 PM
system on maintenance on linux santasballz Linux - Newbie 8 03-01-2004 08:31 AM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration