Why /lib/modules taking so much space on xubuntu?

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?

Thanks


Solution 1:

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 :

linux-image-<version>-generic

Removing it removed the corresponding files in /lib/modules