Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can we free disk space by removing unwanted data on the system? How do we detect that the files are not necessary for the programs to work?

share|improve this question

I also recommend the same as Jo-Erlend but there is also a little bit of cleaning with the download packages that you already have installed.

For example with the command aptitude or apt-get you can do this:

sudo apt-get clean - Erase downloaded package files
sudo apt-get autoclean - Erase old downloaded package files

sudo aptitude clean - Erase downloaded package files
sudo aptitude autoclean - Erase old downloaded package files

You also have the tool Ubuntu-Tweak:

sudo add-apt-repository ppa:tualatrix/next
sudo apt-get update
sudo apt-get install ubuntu-tweak

Then run ubuntu-tweak. It has an option for cleaning up called Janitor:

enter image description here

Lastly you have Bleachbit (Or ChlorineByte ^^) which has several FEATURES which include cleaning the cache from Firefox, Temp files for more than 50 programs and other stuff that is mentioned in the Features page.

The Software Center comes with version 0.8.8 and the Official Page has the 0.9. Whichever you use will do the trick since the difference between version is SMALL.

share|improve this answer

You can use disk usage analyzer to see what is using space. It is installed by default.

enter image description here

You should not delete things outside of your home directory unless you know what you're doing. Before you delete things, it is a good idea to rename them to see if everything still works. When you know that it does, then you can safely delete them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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