LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-30-2005, 06:30 AM   #1
joe2280
LQ Newbie
 
Registered: Sep 2005
Location: Montreal, Quebec, Canada
Distribution: SuSE 10.0
Posts: 21

Rep: Reputation: 15
How to keep things clean


Hi, I'm wondering how to keep my system clean. By that I mean:
-How do I know there's no installed library or programs that are useless.
-How to make sure that everything installed are available in the menus (beside using the updatedb and update-menus commands).
-When an installation did not make it to the end (because of an error or something), how to know that there's no "half-application" or "half-librairy" somewhere that is useless but just sits there.

Thanks.
 
Old 09-30-2005, 11:11 AM   #2
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
Hi,
You might consider asking this question in the distro. forum
for the Mandriva distro.. The answer to your question can get
kinda distro specific. Ill try to help here though.

For questions 1 and 2 - This can be pretty tough, especially if
you do a full install. How to determine if a library ever gets used
is a separate question to ask in the forums. I do not know how
at the moment. Making sure that appropriate apps appear in the
menus is tedious but can be done. The thing here is to know
what all apps you install. This is the reason doing a full install
can make you task kinda tough. For the most part, modern
installation programs can tell what libraries you need based on
your selections at install time.

Most Linux distros are pretty clean out of the box. The thing to
watch is /tmp. It can grow quiet a bit over time. Also, the .
directories in your home directory. For ex. .mozilla . Apps like to
put temp data in those.

If your really serious about knowing what is on your system and
keeping it under control, try www.linuxfromscratch.org.

Question 3 - always format after a failed install. That will fix that
problem.

I know this is not much help, but, you have asked a very large and
broad question. If you find lots of ways to go about keeping
your system clean, you may want to write a how-to on this topic.
If you have this question, chances are that other do to. If your
a programmer, you should consider writing a program that helps
people do this.

Good luck,
Michael

Last edited by youngstorm; 09-30-2005 at 11:13 AM.
 
Old 10-01-2005, 08:54 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
If you always install programs using your distros package management system (urpmi for mandrake, I think), then this will take care of "half-libraries" or whatever.

Also, uninstalling programs using the same system will remove all the libraries that are no longer being used.

Quote:
The thing to watch is /tmp. It can grow quiet a bit over time. Also, the .
directories in your home directory. For ex. .mozilla . Apps like to
put temp data in those.
/tmp should be emptied when you shut your computer down. Be careful what hidden folders you delete - they are not just for temporary data, they contain your personal settings. For example, if you delete .mozilla, you will lose all of your Mozilla and Firefox bookmarks.

Quote:
Question 3 - always format after a failed install. That will fix that problem.
When you reinstall a distro (Something that shouldn't need doing very often), make sure you do a clean install not an upgrade.

I hope this helps
--Ian

Last edited by IBall; 10-01-2005 at 09:00 PM.
 
Old 10-01-2005, 09:16 PM   #4
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
Quote:
they are not just for temporary data, they contain your personal settings. For example, if you delete .mozilla, you will lose all of your Mozilla and Firefox bookmarks.
I only meant history files and cookies and such in .mozilla.
thx for the clarification though, i would hate for him to
delete his whole .mozilla directory
 
Old 10-03-2005, 07:48 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
-How do I know there's no installed library or programs that are useless.
Stick to packages made for your distro, everything there has been tested and can at least be expected to work. You can go through and uninstall stuff that you don't use, but be careful - only uninstall something if you know what it is otherwise you could accidentally uninstall an important system package or something.

Quote:
-How to make sure that everything installed are available in the menus (beside using the updatedb and update-menus commands).
Mandriva requires that all GUI applications packaged for their distro make an entry in the menu. So again all you have to do is stick to stuff packaged for Mandriva.

Quote:
-When an installation did not make it to the end (because of an error or something), how to know that there's no "half-application" or "half-librairy" somewhere that is useless but just sits there.
Again stick to installing packages through urpmi or the GUI equivalent in the Mandrake Control Centre. Anything installed by a (properly written) RPM package will be uninstalled by it, and if there's some error the package won't be installed.

Make sure you goto http://easyurpmi.zarb.org and get access to all the package repos for Mandriva.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 04:35 AM
make clean mikeshn Linux - Software 1 09-02-2005 09:18 AM
make clean Palamides Linux - Software 5 01-13-2005 01:42 AM
Mount "/" at capacity - please help clean things up! cliffyman Linux - General 4 07-15-2002 10:25 PM
How can I do a clean-up? J_Szucs Linux - Newbie 3 04-30-2002 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:03 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
Open Source Consulting | Domain Registration