dpkg:tldr:7f8f4
dpkg: List contents of a local package file.
$ dpkg -c ${filename-deb}
try on your machine
The command "dpkg -c ${filename-deb}" is used to list the contents of a Debian package (.deb file).
Here's the breakdown of this command:
- "dpkg" is a package management command-line tool used in Debian-based distributions like Ubuntu.
- "-c" is an option for dpkg that stands for "contents". It is used to display the contents of a package.
- "${filename-deb}" is a placeholder for the actual name of the .deb file you want to inspect. You need to replace it with the actual filename and its full path.
By running this command, dpkg will open the specified .deb file and display a list of all the files and directories contained within the package, allowing you to see what files will be installed on your system if the package is installed.
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.