Skip to content

mrts/ubuntu-old-kernel-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-old-kernel-cleanup

Script that helps to remove unused kernels from an Ubuntu (and possibly also Debian) Linux system.

See this question from Ask Ubuntu for the original problem.

Installation

Install the package with pip:

sudo pip install git+http://github.com/mrts/ubuntu-old-kernel-cleanup.git

Verify that the script was installed successfully by running it:

ubuntu-old-kernel-cleanup

Running

Do a dry run first to see what would be removed:

ubuntu-old-kernel-cleanup | xargs sudo apt-get --dry-run purge

Then run the actual cleanup:

ubuntu-old-kernel-cleanup | xargs sudo apt-get -y purge

About

Script that helps to remove unused kernels from an Ubuntu (and possibly also Debian) Linux system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published