![Forrest logo](/images/logo.png)
dpkg-deb:tldr:43ff9
The command dpkg-deb --info ${filename-deb}
is used to display information about a Debian package (.deb file).
Here's a breakdown of the command:
-
dpkg-deb
: This is the command-line tool used for working with Debian (.deb) packages. It allows you to perform various operations like installing, removing, querying, or extracting information from packages. -
--info
: This is an option or parameter fordpkg-deb
command. It specifies that we want to display information about the package. -
${filename-deb}
: This is a placeholder for the actual filename of the Debian package (.deb) file you want to get information about. You need to replace${filename-deb}
with the actual filename and extension (e.g.,package.deb
).
So, when you run the command with a specific .deb file, it will provide you with information such as the package name, version, maintainer, installed size, description, dependencies, and other metadata associated with that package.