#!/linuxSucks/Remove old kernels in Void Linux with vkpurge

May 16, 2021

The vkpurge utility list and remove old kernels, this is utility remove hooks, modules and other files left behind when the kernel is updated to a new version

vkpurge commands

This command will list a matching version or to list all kernels

sudo vkpurge list [version]
sudo vkpurge list '4.19.*'
sudo vkpurge list all

This command will remove a matching version or remove all kernels

sudo vkgurge rm [version]
sudo vkgurge rm '4.19.10.1'
sudo vkgurge rm all

## Note

vkpurge only list the kernels that are not currently booted, in other words the utility just list the kernels that can be deleted

Home  Linux  Notes  Blog Spot