Linux Kernel cleanup-released based on Ubuntu

Source: Internet
Author: User
Clean up the Linux kernel-based on the Ubuntu release-general Linux technology-Linux programming and kernel information. The following is a detailed description. Learn to use the three commands

1. uname-a check the current kernel version to avoid deleting the desired version.

2. dpkg -- get-selections | grep linux view the linux Kernel File and select

3. sudo apt-get remove Kernel File

The kernel file is one of the file names obtained by the second command.

This is an example provided on the Internet. The result is almost the same. Then, use apt-get revmoe to delete unnecessary versions.

Foo @ bar :~ $ Dpkg -- get-selections | grep linux
Libselinux1 install
Linux-generic install
Install linux-headers-2.6.24-16
Install linux-headers-2.6.24-16-generic
Linux-headers-generic install
Deinstall linux-image-2.6.22-14-generic
Install linux-image-2.6.24-16-generic
Linux-image-generic install
Linux-libc-dev install
Deinstall linux-restricted-modules-2.6.22-14-generic
Install linux-restricted-modules-2.6.24-16-generic
Linux-restricted-modules-common install
Linux-restricted-modules-generic install
Linux-sound-base install
Deinstall linux-ubuntu-modules-2.6.22-14-generic
Install linux-ubuntu-modules-2.6.24-16-generic
Util-linux install
Util-linux-locales install
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.