Ubuntu – How to list the contents of a package

package-management

How do I list the contents of a package that I just installed? This command:

dpkg --contents filename.deb

requires that I know where the .deb file is. I don't feel like I need to know that, and if I do, please tell me where they go when I do apt-get install.

Best Answer

Use Synaptic Package Manager. Install it with

sudo apt-get install synaptic

Then go to Installed section, select a package then right-click to show its properties.

enter image description here

If you want to do it in Terminal, there is no need for Synaptic:

dpkg-query -L <package_name>

Package name is without .deb extension or version information (e.g. vlc, evince).