The command can only list contents of of installed packages,
dpkg -L PACKAGENAME
but how to list contents of a non-installed package, to preview/examine the package?
|
feedback
|
|
dpkg -c acts as a front-end to dpkg-deb. As such, it works directly with package archives (.deb files). To work directly with package names rather than package files you can use apt-file.
This works for installed and not installed packages. apt-file package needs to be installed to use the command. | |||||||
feedback
|
|
Use
When used in this manner, You can also use an archive browser to view the package contents. | |||||||
feedback
|
|
The package will get downloaded to | |||
feedback
|