![Forrest logo](/images/logo.png)
pacman-query:tldr:bf552
pacman-query: Display information about an installed package.
$ pacman --query --info ${package_name}
try on your machine
This command "pacman --query --info ${package_name}" is used in Arch Linux and its derivatives to display detailed information about a specific package.
Here is the breakdown of the command:
- "pacman" is the package manager used in Arch Linux.
- "--query" is the flag used to query the package database.
- "--info" is the flag to request detailed information about a package.
- "${package_name}" is the placeholder for the name of the package you want to retrieve information about. You need to replace it with the actual package name.
When you run this command with a valid package name, it will display detailed information about that package, including its name, version, description, dependencies, installation size, license, installed files, etc. This command can be helpful when you want to learn more about a particular package before installing or managing it.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.