Welcome to the most active Linux Forum on the web.
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, 10: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, 01:43 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 15,903

Rep: Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021Reputation: 3021
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, 01:49 PM   #3
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,274
Blog Entries: 10

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
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 08:19 PM
Command to find list of patches applied to standard kernel in Red Hat? ndh_singh80 Linux - Newbie 2 01-17-2009 07:42 PM
List Installed Patches by Live Update? ubyt3m3 Solaris / OpenSolaris 4 07-07-2008 02:18 PM
Command to get list of patches applied pavan_pnv Linux - Newbie 7 03-12-2008 06:29 PM
?? Command to list installed libraries. polarbear20000 Slackware 4 02-21-2008 05:42 PM

All times are GMT -5. The time now is 05:36 AM.

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