3 ms·
You know what would be nice? To do the reverse: I provide a file path and you can determine in which package(s) it is present.
by hleszek 4y ago
You know what would be nice?
To do the reverse: I provide a file path and you can determine in which package(s) it is present.
- cbsks 4y agodpkg or apt-file can do this from the command line. Or you can use https://packages.ubuntu.com/ https://packages.ubuntu.com/ https://askubuntu.com/questions/481/how-do-i-find-the-package-that-provides-a-file https://askubuntu.com/questions/481/how-do-i-find-the-packag...
- itsmartapuntocm 4y agoDNF as well with “dnf provides <filename>”
- oneshtein 4y agoOn rpm-based systems: `rpm -qf /path/to/file`. It's very helpful when I stare at a file and thinking, "WTF this file doing there?". These two commands help me immediately: `rpm -qif file` to show description of file package, `rpm -qlf file` to show list of other files in the same package.
- loloquwowndueo 4y agodpkg -S /your/path Have fun :)