Clean old folders in /usr/lib/modules?
Posted: Thu Jul 25, 2024 8:56 pm
Hi all - doing some cleaning on my little HP Stream laptop and found something I'm curious about.
My Stream is a cheap little laptop and only has 32BG eMMC storage. I do have a 256GB MicroSD card installed in it as well. How I have it set up is that my OS (MX Linux 23.3 XFCE) and apps are installed to the eMMC and my Home folder is set as the MicroSD card.
Currently I only have 9.94GB left of free space on the eMMC so I was looking to eek back a little bit more room. In my looking around with K4DirStat, I see under the /usr/lib/modules that I have folders going back for ages from a bunch of old Kernel versions that I no longer have (some say the 'last change' was 2022!).
Would it be safe to remove these older folders to get a little space back?
I would obviously not touch the folders for my current or last kernel.
Thanks so much! :)
My Stream is a cheap little laptop and only has 32BG eMMC storage. I do have a 256GB MicroSD card installed in it as well. How I have it set up is that my OS (MX Linux 23.3 XFCE) and apps are installed to the eMMC and my Home folder is set as the MicroSD card.
Currently I only have 9.94GB left of free space on the eMMC so I was looking to eek back a little bit more room. In my looking around with K4DirStat, I see under the /usr/lib/modules that I have folders going back for ages from a bunch of old Kernel versions that I no longer have (some say the 'last change' was 2022!).
Would it be safe to remove these older folders to get a little space back?
I would obviously not touch the folders for my current or last kernel.
Thanks so much! :)