How do I get a list of files that were or will-be installed when I apt-get a package? Conversely, can I find what package(s) caused a particular file to be installed?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
Note: in the following commands, a command beginning with 'root#' means it needs to be run as root. To find which files were installed by a package, use
Or if you have the package as a
To find which package provides a file that is already on your system, use:
To find which package provides a file that is not currently on your system, use
|
|||||||
|
As far as I'm concerned, dpkg is the low-level tool that apt-get depends on. |
|||||||
|
|
If you have installed |
|||
|
|