LinuxQuestions.org
Help answer threads with 0 replies.
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, 09:26 AM   #16
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511

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, 05:57 AM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,397

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
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 09:39 AM
Installing multiple rpm package versions? metal_militia Linux - Newbie 5 08-19-2014 01:29 PM
How to install multiple versions of package? terry-duell Fedora 10 10-01-2010 02:53 PM
Unable boot multiple kernel versions off of Redhat machine liangjz Linux - Newbie 3 03-16-2004 10:01 AM
Do multiple versions of Apache on one machine affect each other? mlhammer Linux - Software 0 11-28-2003 06:33 PM

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

All times are GMT -5. The time now is 05:14 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
Open Source Consulting | Domain Registration