Deleting old/unused files

Aere Greenway Aere at
Wed Dec 3 18:10:28 UTC 2014


If you've been using your system for months/years, and updating during 
that time, you accumulate a lot of old kernels that are no longer needed 
and take up significant space.

Try (in Synaptic Package Manager) searching for "linux-image", and 
within those displayed that are indicated to be installed, delete all 
but the most recent, and next-most-recent of them.  They come in pairs 
(linux-image-extra, and linux-image).  Beware the order they appear may 
not tell you which is most recent - check the version numbers.

When you mark the un-needed ones for removal, and apply changes, it will 
free up a lot of space (even if just a single kernel is removed).

Another thing you can do (in a terminal) is:

sudo apt-get autoremove


sudo apt-get autoclean

I hope that helps you.  I have a test system running on a 4-gig 
hard-drive, and need to employ tricks such as these to keep it from 
running out of space.

If you use Rosegarden (a MIDI sequence-editor), removing the lilypond 
documentation will free up a lot of space.

- Aere

On 12/03/2014 03:49 AM, Steven Duckworth wrote:
> Hi,
> I am currently using a Fujitsu Siemens Intel Celeron M laptop with 
> 40GB onboard memory (my PC motherboard recently burnt out), and was 
> wondering as to the safest way to delete old or unwanted files in 
> Synaptic Package Manager.
> My hard-drive space is very limited so to be able to keep it 
> uncluttered would be a bonus!
> I did read an article on the net some time back, but thought it best 
> to check with the Lubuntu tech team.
> Thanks in advance,
> Steven Duckworth
> South Africa
> -- 
> web button 125x50.png


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 96 bytes
Desc: not available
URL: <>

More information about the Lubuntu-users mailing list