Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Find out packages contain the file you are looking for

If if you want to figure out which installed package a file belongs to, use

Panel

% dpkg -S filename

apt-file tool can help to find out which packages contain a file.

Panel

$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file search filename

To list all installed packages

Panel

dpkg --get-selections

To list the files in a package.

Panel

dpkg -L packageName