LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2017, 10:26 AM   #16
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451

Quote:
Originally Posted by pan64 View Post
yes, see post #7, uname should work. also see man uname about usage
+1 +1 +1 ... Yup. uname -a will give you running kernel info and your package manager will undoubtedly have a query command permitting you to find installed packages. As mentioned - kernel headers and docs aren't actually "running" - the kernel is. And yes, you may have several kernels installed and available to boot on your system - to be chosen at boot time.

Cheers :-)
 
Old 03-03-2017, 06:57 AM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,705

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
I would look at it this way (on a RHEL/Centos/... distro):

Code:
# running kernel : also usually matches the 1st entry in /boot/grub/grub.conf
uname -a

# Other installed & avail kernels : see also other entries in /boot/grub/grub.conf
rpm -qa| grep -i kernel
NB: I don't have v7, so the above may not be true for v7.

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] multiple versions of GLIBC on target machine allagar Linux - Embedded & Single-board computer 1 02-25-2015 10:39 AM
Installing multiple rpm package versions? metal_militia Linux - Newbie 5 08-19-2014 02:29 PM
How to install multiple versions of package? terry-duell Fedora 10 10-01-2010 03:53 PM
Unable boot multiple kernel versions off of Redhat machine liangjz Linux - Newbie 3 03-16-2004 11:01 AM
Do multiple versions of Apache on one machine affect each other? mlhammer Linux - Software 0 11-28-2003 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration