Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 179 — #205
i
i
i
i
i
i
i
i
5
Updating the System and Package Management
--provides List features of the package that another package
can request with --requires
--requires, -R Capabilities the package requires
--scripts Installation scripts (preinstall, postinstall,
uninstall)
For example, the command rpm -q -i wget displays the information
shown in Example 5.2.
Example 5.2: rpm -q -i wget
Name :wget Relocations: (not relocateable)
Version :1.8.2 Vendor: SuSE Linux AG, Nuernberg, Germany
Release :301 Build Date: Di 23 Sep 2003 20:26:38 CEST
Install date:Mi 08 Okt 2003 11:46:31 CEST Build Host: levi.suse.de
Group :Productivity/Networking/Web/Utilities
Source RPM :wget-1.8.2-301.src.rpm
Size :1333235 License: GPL
Signature :DSA/SHA1, Di 23 Sep 2003 22:13:12 CEST, Key ID a84edae89c800aca
Packager :http://www.suse.de/feedback
URL :http://wget.sunsite.dk/
Summary :A tool for mirroring FTP and HTTP servers
Description :
Wget enables you to retrieve WWW documents or FTP files from a server.
This can be done in script files or via the command line.
[...]
The option -f only works if you specify the complete file name with its full
path. Provide as many file names as desired. For example, the following
command
rpm -q -f /bin/rpm /usr/bin/wget
results in:
rpm-3.0.3-3
wget-1.5.3-55
If only part of the file name is known, use a shell script as shown in Exam-
ple 5.3 on the next page. Pass the partial file name to the script shown as a
parameter when running it.
179SUSE LINUX Enterprise Server










