Forrest logo
back to the dpkg-deb tool

dpkg-deb:tldr:43ff9

dpkg-deb: Display information about a package.
$ dpkg-deb --info ${filename-deb}
try on your machine

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 for dpkg-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.

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.
back to the dpkg-deb tool