PACINFO(1) pacinfo PACINFO(1)

pacinfo - display package information

pacinfo [options] (<pkgspec>|<pkgname>)...
pacinfo (--help|--version)

If a pkgname is given, information for all packages matching that name in all databases will be displayed.

If stdin is not connected to a terminal, packages will be read from stdin.

Set an alternate configuration file path.
Set an alternate sync database extension.
Set an alternate database path.
Set an alternate installation root.
Set an alternate system root. See pacutils-sysroot(7).
Set an alternate separator for values parsed from stdin. By default a newline "\n" is used as the separator. If --null is used without specifying sep "NUL" will be used.
Disable low-speed timeouts for downloads.
Display brief information. Suitable for printing a potentially large number of packages:
pacsift --name libreoffice | pacinfo --short
Display additional package information: "required by", "optional for", and "base64 signature".
Display raw numeric size and date values.
Include the size of any removable dependencies in installed size.
Display usage information and exit.
Display version information and exit.

pacinfo determines whether or not to read packages from stdin based on a naive check using isatty(3). If pacinfo is called in an environment, such as a shell function or script being used in a pipe, where stdin is not connected to a terminal but does not contain packages to print, pacinfo should be called with stdin closed. For POSIX-compatible shells, this can be done with "<&-".

2024-04-16 pacutils