Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-14-2010, 09:40 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 10

Rep: Reputation: 0
Thumbs up Command to list the installed patches

Hi Techies,

Please share me the command to find all installed patches in RHEL .
rpm -qa shows all the packages installed in it .In Solaris there are teo commands and package and patches are different in terms.

Your help in appreciated..Thanks
Old 01-14-2010, 12:43 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,705

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
If you know, which 'month - day - year' your install was done,
you can use this command :

rpm -qa --last > last-rpms.txt
.. which will save the file as /home/"username"/last-rpms.txt
.. showing the exact install time for all packages.

Patches are not used, only rpm packages, in RHEL
as in most other Linux's. AFAIK.
Old 01-14-2010, 12:49 PM   #3
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
The rpm information you see will have version numbers on it. As patches are created later versioned rpms are installed to replace earlier ones.

You can get details of what is in specific versions by going to RedHat's site. (e.g. if you're trying to verify a CERT advisory has been addressed).

Also note that not ALL software is installed by rpm - If you downloaded source and compiled and installed it won't be in your rpm -qa - you need to remember it.


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to find list of patches applied to standard kernel in Red Hat? ndh_singh80 Linux - Newbie 2 01-17-2009 06:42 PM
List Installed Patches by Live Update? ubyt3m3 Solaris / OpenSolaris 4 07-07-2008 01:18 PM
Command to get list of patches applied pavan_pnv Linux - Newbie 7 03-12-2008 05:29 PM
?? Command to list installed libraries. polarbear20000 Slackware 4 02-21-2008 04:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:38 PM.

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