Ubuntu kernel version management

Source: Internet
Author: User

Ubuntu kernel version management 1. view ubuntu version: Method 1: cat/etc/issue returned result: Ubuntu 6.06.2 LTS \ n \ l www.2cto.com Method 2: sudo lsb_release-a returned result: No LSB modules are available. distributor ID: UbuntuDescription: Ubuntu 6.6.2 LTSRelease: 6.06 Codename: dapper method 3: cat/etc/lsb-release returned results: DISTRIB_ID = UbuntuDISTRIB_RELEASE = 6.06DISTRIB _ CODENAME = dapperDISTRIB_DESCRIPTION = "Ubuntu 6.06.2 LTS" 2. check the kernel version number. Method 4: cat/proc/version. The returned result is Linux v. Ersion 2.6.15-51-386 (buildd @ palmer) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007 Method 5: uname-a return result: linux jpsiteserver 2.6.15-51-386 #1 PREEMPT Tue Oct 23 21:42:16 UTC 2007 i686 GNU/Linux Method 6: view only the kernel version uname-r. The returned result is 2.6.15-51-386 3. ubuntu kernel version management: 1. find the kernel version that has been installed in the system, enter the command dpkg -- get-selections | grep linux-image in the terminal, and then the installed kernel in the system will be displayed, for example: flc @ ubuntu: ~ $ Dpkg -- get-selections | grep linux-imagelinux-image-3.0.0-12-generic installlinux-image-3.0.0-19-generic installlinux-image-3.0.0-20-generic installlinux-image-generic install dpkg -- get-selections [<expression>...] print the list of selected software packages to the standard output. Search for grep linux-image and uname-a to view the installed linux kernel. 2. Uninstall the old kernel version and enter the command in the terminal: sudo apt-get remove linux-image-3.0.0-12-generic linux-image-3.0.0-19-generic
 

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.