On Debian systems (and derivatives):
$ dpkg --search /bin/ls
coreutils: /bin/ls
That is, the file /bin/ls belongs to the Debian package named coreutils.
But this only works if the package is installed. What if it's not?
|
On Debian systems (and derivatives):
That is, the file But this only works if the package is installed. What if it's not? |
||||
|
|
|
apt-file
For example, let's search for the not installed binary
It's also possible to list the contents of a (not-installed) package:
yum
Again, the not installed
zypper opensuse's Webpin provides a webbased solution, there is even a script for the command-line. pkgfile Available as
|
|||||||||||||
|
|
The standard tool for this is apt-file. Run
After that, run |
|||
|
|
|
If you don't have access to the machine or can't use the commands given in the previous answers, you can also find this out using the Debian package web-based search engine (the second form, "Search the contents of packages"). |
|||
|
|