Saturday, October 29, 2005

Query RPM packages for information - Programming One Liner 16

Get information about a RPM


[root@plain home]# rpm -qip gnome-desktop-2.2.2-2.2E.src.rpm
Name : gnome-desktop Relocations: (not relocatable)
Version : 2.2.2 Vendor: Red Hat, Inc.
Release : 2.2E Build Date: Wed 20 Jul 2005 04:12:27 PM CDT
Install Date: (not installed) Build Host: crowe.devel.redhat.com
Group : System Environment/Libraries Source RPM: (none)
Size : 1081813 License: GPL
Signature : DSA/SHA1, Wed 10 Aug 2005 03:04:49 AM CDT, Key ID 219180cddb42a60e
Packager : Red Hat, Inc.
URL : http://www.gnome.org
Summary : Package containing code shared among gnome-panel, gnome-session, nautilus, etc.
Description :
The gnome-desktop package contains an internal library
(libgnomedesktop) used to implement some portions of the GNOME
desktop, and also some data files and other shared components of the
GNOME user environment.


This programming one liner allows you to display RPM (Red Hat package manager) information.


Programming "One Liner" lookup terms:
rpm
Options used
-q = query
-i = information
-p = packages

USE THIS PROGRAMMING ONE LINER AT OWN RISK AS AUTHOR CLAIMS NO RESPONSIBILITY.
If you would like more information on any of the commands, please feel free to contact me with your . You can also read other posts on programming code, lookup the programming terms displayed above or visit my network security blog. Other external programming blogs on Technorati and programming blogs on Google.

No comments: