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