Leon Anavi
IT Tips && Tricks

Administration

Created: 07.11.2009 11:36 Last Modified: 07.11.2009 22:12 Views: 810
Keywords: Kernel, Linux, rpm, uname

How to Find Information about a Kernel and to Delete It on Fedora Core

How to Find Linux Kernel Version

To find information about current running Kernel execute the command uname. The most important options are:
  • uname -a Print all information about the Linux OS.
  • uname -o Print the name of the OS.
  • uname -r Print Kernel release information.
  • uname -v Print the version of the Kernel.

Example

[leon@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.30.9-96.fc11.i586 #1 SMP Tue Nov 3 23:33:04 EST 2009 i686 i686 i386 GNU/Linu

How to Find All Installed Kernel Versions

Use the command rpm combined with grep to retrieve information about all Kernel installed on Fedora Core.

Example

[leon@localhost ~]$ rpm -qa | grep kernel
kernel-2.6.30.5-43.fc11.i586
kernel-2.6.30.9-96.fc11.i586
kernel-2.6.30.8-64.fc11.i586
kernel-headers-2.6.30.9-96.fc11.i586
kernel-PAE-devel-2.6.30.5-43.fc11.i686
kerneloops-0.12-5.fc11.i586
kernel-PAE-devel-2.6.30.9-96.fc11.i686
kernel-PAE-devel-2.6.30.8-64.fc11.i686
kernel-firmware-2.6.30.9-96.fc11.noarch

How to Delete a Kernel

To delete an existing Kernel log as root user and execute rpm with the erase option.

Example

[root@localhost ~]# rpm -e kernel-PAE-devel-2.6.30.8-64.fc11.i686

Manual

rpm
grep
uname


Share
Facebook
Partners




Support Wikipedia



Programming Blogs - BlogCatalog Blog Directory

  Home | About | Contact | Disclaimer | Sitemap © 2009-2011 Leon Anavi. All rights reserved.