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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-25-2009, 10:13 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 27
Rep:
|
Which files are safe to delete?
I'm trying to keep my system as clean and slimmed down as possible and I was wondering what files are safe to delete after I've downloaded software. Also, In just a few days I've accumulated several dozen megs of software just from software packages for programs and plugins I need. It's only logical to assume that these will keep accumulating and I can see that becoming a problem. Is there a program I can install that get rid of the the outdated versions of these programs and plugins? Any help is greatly appreciated.
|
|
|
11-25-2009, 11:15 PM
|
#2
|
Member
Registered: Jan 2007
Location: PA, USA
Distribution: Ubuntu Jaunty (9.04)
Posts: 31
Rep:
|
More details please
1) What distro are you using (Ubuntu, openSUSE, Mandriva, one of the others)?
2) Are you downloading the software from the internet or using the package manager?
|
|
|
11-25-2009, 11:27 PM
|
#3
|
LQ Newbie
Registered: Nov 2009
Posts: 27
Original Poster
Rep:
|
I'm using fedora and using the package manager right now but trying to download from third party sites, but having some difficulty. I get rejected when I try to use the command line and I think it's because I dont have the proper package to allow those downloads to install. Does that sound right? Is it possible to download stuff from third party sites without using the command line. From some of the reading I've done it looks like RPM's could be an option.
|
|
|
11-26-2009, 12:12 AM
|
#4
|
Member
Registered: Jan 2007
Location: PA, USA
Distribution: Ubuntu Jaunty (9.04)
Posts: 31
Rep:
|
I usually run 'yum clean all' once a month or so to get rid of the leftovers from installing and removing stuff using the package manager.
There is also a program called 'package-cleanup'. I haven't used it though.
Open a terminal window and type 'su - package-cleanup' and enter the root users password.
If the program is installed, you should get a quick list of usage options. If you get an error that says program not found, you can install it via 'yum install yum-utils'.
When downloading from third party sites, you should be able to download the rpm file by clicking on the download link in which ever web browser you use.
|
|
1 members found this post helpful.
|
11-26-2009, 12:17 AM
|
#5
|
LQ Newbie
Registered: Nov 2009
Posts: 27
Original Poster
Rep:
|
Thanks, that's really helpful info. I'll give it a try.
|
|
|
11-26-2009, 07:18 AM
|
#6
|
Member
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149
Rep:
|
When I come across something I'm not sure about, I first look at "ls -lut" to see when it was last accessed and then use "lsof" to see if anything is using it now. Of course I'll Google it too see if that helps identify what it is for. Tools like rpm's "--whatprovides" option can also be very helpful.
If for some reason I'm still not sure, I'll rename it "is.originalname.junk" and see what happens over time - being sure to include a reboot, of course. If nothing breaks, it looks safe to remove or is easy to put back if it was needed for some obscure reason.
|
|
|
11-26-2009, 07:39 AM
|
#7
|
Member
Registered: Dec 2008
Distribution: LFS
Posts: 99
Rep:
|
It pretty much depends on what you mean by "as clean and slimmed down as possible"
If you are referring to standard cleaning in the boundary of your distro, tahan your package manager should do. See and follow hints posted by guys above.
But if you mean HARDCORE cleaning, than it's more complicated. You can remove debugging symbols from your executables and libraries, you can compress or even remove man and info pages, you even can manually remove libraries you are sure you will never use. But all of this requires good knowledge of what exactly are you doing and why.
|
|
|
All times are GMT -5. The time now is 03:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|