I would like to determine which RPM packages on my Fedora 25 system depend on the libraries libLLVM-3.8.so
and libclang-3.8.so
. How do I?
Fedora – How to list RPM packages that depend on a specific library
fedoralibrariesrpm
fedoralibrariesrpm
I would like to determine which RPM packages on my Fedora 25 system depend on the libraries libLLVM-3.8.so
and libclang-3.8.so
. How do I?
Best Answer
You can use
dnf repoquery
to find this. For example:however, on an x86_64 system, this might not do quite what you want; to specify the x86_64 version of a library (which probably is what you want), tack on
()(64bit)
, like this:(With
'
now necessary to keep the parentheses from confusing bash.)By default, this lists both available and installed packages; to restrict to the ones that are currently installed, add the
--installed
flag, like so:which on my system, returns:
If you want just package names, add
--queryformat '%{name}\n'
. (Usednf repoquery --querytags
to get other formatting options.)