User Tools

Site Tools


ubuntu:packages:list_the_files_installed_by_a_package

Ubuntu - Packages - List the files installed by a package

Issue the command:

dpkg -L package_name

If you are not sure which package installed a file, dpkg -S may be able to tell you. For example:

dpkg -S /etc/host.conf 
base-files: /etc/host.conf

The output shows that the /etc/host.conf belongs to the base-files package.

NOTE: Many files are automatically generated during the package install process, and even though they are on the filesystem,

dpkg -S may not know which package they belong to.

ubuntu/packages/list_the_files_installed_by_a_package.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki