infopkg -i
[ -r
root ]
infopkg -l
pkg|file
[ -r root ]infopkg -o
pattern
[ -r root ]infopkg -f
file
infopkg
queries the package database or inspects package archives.
Exactly one operation must be specified.-i-l pkg|file-o patternpattern is an extended regular expression matched against the full path.-f file-r rootinfopkg -i # list installed packages infopkg -l openssl # files in openssl infopkg -l nftables#1.1.5-1.pkg.tar.gz # files in archive infopkg -o '/bin/ls' # who owns /bin/ls infopkg -o 'libssl' # find libssl files infopkg -f package.pkg.tar.gz # show footprint
0
on success,
1
on error.