Ubuntu Update kernel operation

Source: Internet
Author: User

First, just use Apt-get update && apt-get upgrade.

Of course, the above command will not change your Ubuntu version, if you also want to upgrade Ubuntu version (such as upgrading from 13.10 to 14.04), then you have to knock: sudo dist-upgrade


Update list

Apt-get Update

Update package

Apt-get Upgrade


View Software source kernel information

Apt-cache Search Linux-image-xxxx


See which packages are available for a version of the kernel

[Email protected]:~# apt-cache Search 3.16.0-77-generic

Linux-cloud-tools-3.13.0-95-generic-linux kernel version specific cloud tools for version 3.13.0-95

Linux-headers-3.13.0-95-generic-linux kernel headers for version 3.13.0 on + bit x86 SMP

Linux-image-3.13.0-95-generic-linux kernel image for version 3.13.0 on + bit x86 SMP

Linux-image-extra-3.13.0-95-generic-linux kernel extra modules for version 3.13.0 on + bit x86 SMP

linux-signed-image-3.13.0-95-generic-signed kernel image generic

Linux-tools-3.13.0-95-generic-linux kernel version specific tools for version 3.13.0-95



Install the appropriate kernel

Apt-get Install Linux-headers-3.13.0-95-generic linux-image-3.13.0-95-generic linux-image-extra-3.13.0-95-generic Linux-tools-3.13.0-95-generic



See which kernel versions are currently installed

Dpkg--list | grep linux-image



See which packages are available for this kernel version

Dpkg--list | grep 3.2.0-96.136




Remove excess Kernel Packages

Apt-get Remove Linux-image-3.13.0-63-generic

Apt-get Remove Linux-image-extra-3.13.0-63-generic

Apt-get Remove Linux-headers-3.13.0-63-generic


Clean up the useless packages

Apt-get clean && sudo apt-get autoclean


Ubuntu Update kernel operation

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.