Forrest logo
back to the dpkg-deb tool

dpkg-deb:tldr:8ee31

dpkg-deb: Display the package's name and version on one line.
$ dpkg-deb --show ${filename-deb}
try on your machine

The command "dpkg-deb --show ${filename-deb}" is used to display information about a Debian package (.deb file).

Here is a breakdown of the command:

  • dpkg-deb: This is the Debian Package Manager (dpkg) command to work with Debian packages.
  • --show: This option is used to display information about the specified package.
  • ${filename-deb}: This is a placeholder for the name of the .deb file you want to view information for. You need to replace it with the actual filename of the .deb file.

By running this command and replacing ${filename-deb} with the name of the .deb file, you can get detailed information about the package, including its version, package name, architecture, dependencies, and more.

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