Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Is system cleanup/optimization needed

i am looking for a sofware that would clean up registry , temporary and log files on ubuntu. Is there an equivalent to the windows CCleaner freeware? cheers

share|improve this question

marked as duplicate by Luis Alvarado, hhlp, Javier Rivera, Ringtail, fossfreedom Dec 10 '12 at 17:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
You should specify the problem you try to solve. There is no 'registry' to clean up for instance. If you computer is slow, you might need to uninstall stuff, but an automatic program will only get you so far with that. If you need more space you might want to check log and temp files, but if you don't, they're not really slowing you down much. –  Nanne Dec 10 '12 at 13:12
    
"registry , temporary and log files" if they exist they do -not- make your system slow. –  Rinzwind Dec 10 '12 at 13:14
    
Please be easy on new users. He never stated unnecessary files are making his computer slow. –  Martin Oscar Caballero Dec 10 '12 at 13:17
    
To the people who are voting to delete this question: Maybe consider asking for a merge instead? Not only does this have valuable answers, but duplicate questions are considered often to serve an important purpose. While I'm pleased people are voting to delete old, off-topic/unclear posts with no useful information in them, I'm worried that some recently active delete voters may not be familiar with the reason most duplicates are not manually deleted. (Actually I think nothing needs to happen here, but a merge might be acceptable.) –  Eliah Kagan Jan 18 at 8:08

3 Answers 3

up vote 5 down vote accepted

Usually, there is no need of a cleaning software to speed up an Ubuntu machine. There is no registry in Linux and temp files are on /tmp directory which is not saved when you shutdown the machine.

Log files are on /var/log and have absolutely nothing to do with the speed of the machine (while they do not fill up the disk of course). Each log has several files because the old ones are compressed and a new one is created. The compressed (old) ones are usually in the form /var/log/logfilename.#.gz. Usually 2 files of each log are not compressed, the current one and the one before it (usually named logfilename.1). It is not needed and won't speed up your machine but if you need some small extra disk space, you can delete all the compressed ones if you don't need them (sudo rm /var/log/*.gz should work but you may need to do some adaptations depending on the names of your log files).

A few little things you can do manually:

Due to the package management automatic dependencies installations, you may have auto installed package that are not needed anymore. Remove them with: sudo apt-get autoremove

Look at your swap to see if it is used heavily (not enough RAM):

free -m

The last line will tell you swap size, used and free. If use is high and you see on the above line -/+ buffers/cache that free memory is short, you may need to increase your RAM to speed up your machine. If swap is near 100% used, you need to increase swap space (but that is another question :) )

Browsers caches usually can be cleaned from the browser preferences.

Or as suggested in other answers, you can use Ubuntu Tweak! :)

share|improve this answer

You can use http://ubuntu-tweak.com/

It let you clean cache from browsers, packages no longer needed, old kernel, and many more.

share|improve this answer
    
Oh, it seems we were typing at the same time and you came first :) –  Martin Oscar Caballero Dec 10 '12 at 13:18
    
Why isn't Ubuntu-tweak in the official repos? –  To Do Dec 10 '12 at 13:49

I don't think there's such thing as a registry in Ubuntu. You have a package index, package and config files, cookies, etc.

To clean up Ubuntu, you can use Ubuntu Teak

Also, take a look at these tips

Hope it helps.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.