---
name: "pacinfo"
section: "1"
platform: "linux"
package: "pacutils"
version: "0.15.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pacinfo"
---

# pacinfo(1)

display package information

## NAME

pacinfo - display package information

## SYNOPSIS

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

## DESCRIPTION

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*.

## OPTIONS

- **--config**=*path*

  Set an alternate configuration file path.

- **--dbext**=*extension*

  Set an alternate sync database extension.

- **--dbpath**=*path*

  Set an alternate database path.

- **--root**=*path*

  Set an alternate installation root.

- **--sysroot**=*path*

  Set an alternate system root.  See [**pacutils-sysroot**(7)](/pacutils-sysroot/7.md).

- **--null**\[=*sep*\]

  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.

- **--no-timeout**

  Disable low-speed timeouts for downloads.

- **--short**

  Display brief information.  Suitable for printing a potentially large number of packages:

  ```
   pacsift --name libreoffice | pacinfo --short
  ```

- **--verbose**

  Display additional package information: `"required by"`, `"optional for"`, and `"base64 signature"`.

- **--raw**

  Display raw numeric size and date values.

- **--removable-size**

  Include the size of any removable dependencies in installed size.

- **--help**

  Display usage information and exit.

- **--version**

  Display version information and exit.

## CAVEATS

**pacinfo** determines whether or not to read packages from *stdin* based on a naive check using [**isatty**(3)](/isatty/3.md).  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 `"<&-"`.
