Библиотека сайта rus-linux.net
Maximum RPM: Taking the Red Hat Package Manager to the Limit | ||
---|---|---|
Prev | Appendix A. Format of the RPM File | Next |
Identifying RPM files with the file(1) command
The
magic
file on most UNIX-like systems today should
have the necessary information to identify RPM files. But in case your
system doesn't, the following information can be added to the file:
|
The output of the file command is succinct:
|
In this case, the file called baz
is a version 3
format RPM file containing release 2 of version 1.0 of the
vlock
package, which has been built for the Intel x86
architecture.