I googled for this, but couldn\'t find how to query a non-installed RPM file for its information:
# rpm -qa blackfin-jtag-tools-09r1.1-2.i386.rpm
#
# rpm -qi bl
Use rpm -qip
:
rpm -qip package_path1 [package_path2 ...]
-q
- query the package-p
- get the package name from argumentsIt shows the following info:
Name
Version
Release
Architecture
Install Date
Group
Size
License
Signature
Source RPM
Build Date
Build Host
Relocations
Packager
Vendor
URL
Summary
Description
The man page doesn't talk about the -i
option in -q
context. However, rpm -qp file
doesn't produce the right output.