Home > Article > Operation and Maintenance > How to uninstall unused old kernel in Linux deepin
The following column linux tutorial will introduce to you how to uninstall the unused old kernel in Linux deepin. I hope it will be helpful to those in need!
First list the currently installed kernels
dpkg --get-selections| grep linux##For example, if you want to uninstall linux5.1.9, execute the command:sudo apt remove --purge linux-headers-5.1.9-050109 In addition to linux-header, you also need to uninstall linux-modules and linux-image -unsignedCommand:
sudo apt remove --purge linux-modules-5.1.9-050109-genericThis will uninstall the 5.1.9 kernel.For more Linux technical articles, please visit
The above is the detailed content of How to uninstall unused old kernel in Linux deepin. For more information, please follow other related articles on the PHP Chinese website!