1. view the existing kernel of the system
Dpkg -- Get-selections | grep Linux
2. display the current Kernel
Uname-
3. Upgrade the kernel
Sudo apt-Get dist-Upgrade
4. Delete the kernel
Files with an image need to be deleted and must contain all versions and other characters. Other related files are automatically deleted.
Sudo apt-Get remove -- purge linux-image-2.6.32-24-generic
5. Delete the kernel
Sudo apt-Get remove -- purge linux-headers-2.6.32-24-generic
6. Update menu. List
Sudo Update-grub
7. System spam cleaning
Sudo apt-Get autoclean clear old software Cache
Sudo apt-Get clean all software caches
Sudo apt-Get autoremove deletes isolated software that is no longer used by the System
8. Temporary File directory for package management:
/Var/Cache/APT/Archives
If the download is not completed
/Var/Cache/APT/archives/partial
9. Clear the cache files of opera Firefox:
Ls ~ /. Opera/cache4
Ls ~ /. Mozilla/Firefox/*. Default/Cache
1. Check the current kernel version: uname-.
2. Check all kernel files in the current system: dpkg -- Get-selections | grep Linux
3. Delete the kernel file:
Sudo apt-Get remove linux-headers-2.6.32-24-generic
Sudo apt-Get remove linux-headers-2.6.32-24
Sudo apt-Get remove linux-image-2.6.35-22-generic
In this way, the deletion is successful.