Get the information on all the rpms installed on the system

2010-07-23 195 words 1 min read

Here’s a one-liner to get the info on all the packages installed on your system.

rpm -qa –info |tee All_rpms_Info

This is what it does, when you query the rpm database with the –info parameter, then the output looks something like the below, which is quite helpful.

Name        : rpm                          Relocations: (not relocatable)
Version     : 4.6.0                             Vendor: Fedora Project
Release     : 0.rc3.1.fc10                  Build Date: Sat 13 Dec 2008 12:38:24 AM IST
Install Date: Tue 13 Jan 2009 09:22:50 PM IST      Build Host: x86-5.fedora.phx.redhat.com
Group       : System Environment/Base       Source RPM: rpm-4.6.0-0.rc3.1.fc10.src.rpm
Size        : 3662666                          License: GPLv2+
Signature   : DSA/SHA1, Tue 06 Jan 2009 08:20:24 PM IST, Key ID bf226fcc4ebfc273
Packager    : Fedora Project
URL         : http://www.rpm.org/
Summary     : The RPM package management system
Description :
The RPM Package Manager (RPM) is a powerful command line driven
package management system capable of installing, uninstalling,
verifying, querying, and updating software packages. Each software
package consists of an archive of files along with information about
the package like its version, a description, etc.

So, this is probably much more useful info. All the output is displayed on the terminal as well as written in the file called All_rpms_info. 🙂


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it