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

I have a 2G home partition, /lib/modules is taking more that 1.5G. I got 12 directory named after version of kernel 2.6.32 each taking 119k. Why do I have all of that? Do I need all of that? If not, what is the clean way to remove what I don't need?


share|improve this question
possible duplicate of Is there a way to remove/hide old kernel versions? – Lekensteyn Mar 25 '12 at 9:54
The other question do not mention anything about disk space. – Guillaume Coté Mar 25 '12 at 20:28
up vote 6 down vote accepted

Automatic update is installing each new kernel, but there is no clean-up, and there is a copy of the module for each kernel.

There is a package entry called :


Removing it removed the corresponding files in /lib/modules

share|improve this answer
This is correct, but there are more complete instructions for cleanup at… – Amanda Apr 28 '13 at 23:51

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.