Linux command
pacinfo 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
pacinfo [package_name]
Example
pacinfo --no-timeout [package_name]
Example
pacinfo --raw [package_name]
Example
pacinfo --verbose [package_name]
Example
pacinfo --help
说明
pacinfo displays detailed information about packages from the pacman database. It shows package metadata including name, version, description, dependencies, install date, size, and other attributes stored in the package database. The tool can query both locally installed packages and packages available in configured repositories. It provides more detailed output options than pacman's built-in query commands, with machine-readable raw output for scripting.
参数
- --raw
- Display sizes in bytes and dates as Unix timestamps
- --verbose
- Display additional package information
- --no-timeout
- Disable low-speed download timeouts
- --config _file_
- Use alternate pacman configuration file
- --dbpath _path_
- Use alternate database path
- --root _path_
- Use alternate installation root
- --help
- Display help information
- --version
- Display version information
FAQ
What is the pacinfo command used for?
pacinfo displays detailed information about packages from the pacman database. It shows package metadata including name, version, description, dependencies, install date, size, and other attributes stored in the package database. The tool can query both locally installed packages and packages available in configured repositories. It provides more detailed output options than pacman's built-in query commands, with machine-readable raw output for scripting.
How do I run a basic pacinfo example?
Run `pacinfo [package_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --raw do in pacinfo?
Display sizes in bytes and dates as Unix timestamps