User Tools

Site Tools


packages:list_the_files_installed_by_a_package

This is an old revision of the document!


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.

packages/list_the_files_installed_by_a_package.1467712052.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki