LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-14-2010, 09:40 AM   #1
sandy_76
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
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,947

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
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
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,015
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
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.
 
  


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
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


All times are GMT -5. The time now is 08:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration