Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

List files in dpkg that is not installed

Ripped directly from dpkg - How do I get a list of installed files from a package? - Ask Ubuntu To see all the files the package installed onto your system, do this:

dpkg-query -L

To see the files a .deb file will install

dpkg-deb -c

To see the files contained in a package NOT installed, do this once (if you haven't installed apt-file already:

sudo apt-get install apt-file
sudo apt-file update

then

apt-file list

Comments