How to remove the old kernel of Ubuntu Linux operating system

  
                  

After using Ubuntu for a while, you will find that many kernels are installed in the system due to the automatic upgrade. Like me, there are so many installations below, which caused a long startup list. Some unused ones must be deleted.


The first is to use the following command to list all installed kernels. In the following table, the kernel file is the image. Select the package to uninstall and uninstall it with apt-get


[tc@ibm:~]$ dpkg --get-selections

Copyright © Windows knowledge All Rights Reserved