Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 156

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 10. Package Management with RPM
• We can combine the above two examples in the following scenario. Say you are having problems
with /usr/bin/paste. You would like to verify the package that owns that program, but you do not
know which package owns paste. Enter the following command,
rpm -Vf /usr/bin/paste
and the appropriate package is verified.
• Do you want to find out more information about a particular program? You can try the following
command to locate the documentation which came with the package that owns that program:
rpm -qdf /usr/bin/free
The output would be similar to the following:
/usr/share/doc/procps-3.2.3/BUGS
/usr/share/doc/procps-3.2.3/FAQ
/usr/share/doc/procps-3.2.3/NEWS
/usr/share/doc/procps-3.2.3/TODO
/usr/share/man/man1/free.1.gz
/usr/share/man/man1/pgrep.1.gz
/usr/share/man/man1/pkill.1.gz
/usr/share/man/man1/pmap.1.gz
/usr/share/man/man1/ps.1.gz
/usr/share/man/man1/skill.1.gz
/usr/share/man/man1/slabtop.1.gz
/usr/share/man/man1/snice.1.gz
/usr/share/man/man1/tload.1.gz
/usr/share/man/man1/top.1.gz
/usr/share/man/man1/uptime.1.gz
/usr/share/man/man1/w.1.gz
/usr/share/man/man1/watch.1.gz
/usr/share/man/man5/sysctl.conf.5.gz
/usr/share/man/man8/sysctl.8.gz
/usr/share/man/man8/vmstat.8.gz
• You may find a new RPM, but you do not know what it does. To find information about it, use the
following command:
rpm -qip crontabs-1.10-7.noarch.rpm
The output would be similar to the following:
Name
: crontabs
Version
: 1.10
Release
: 7
Install Date: (not installed)
Group
: System Environment/Base
Size
: 1004
Signature
: DSA/SHA1, Wed 05 Jan 2005 06:05:25 PM EST, Key ID 219180cddb42a60e
Packager
: Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary
: Root crontab files used to schedule the execution of programs.
130
Relocations: (not relocatable)
Vendor: Red Hat, Inc.
Build Date: Mon 20 Sep 2004 05:58:10 PM EDT
Build Host: tweety.build.redhat.com
Source RPM: crontabs-1.10-7.src.rpm
License: Public Domain

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents