dnf command
Purpose | Description / Example |
---|---|
Find which package provides a specific file |
dnf repoquery --whatprovides /usr/bin/tor-resolve tor-0:0.3.1.10-1.fc27.x86_64 tor-0:0.3.1.7-1.fc27.x86_64 dnf whatprovides /usr/bin/tor-resolve tor-0.3.1.10-1.fc27.x86_64 : Anonymizing overlay network for TCP Repo : @System Matched from: Filename : /usr/bin/tor-resolve tor-0.3.1.10-1.fc27.x86_64 : Anonymizing overlay network for TCP Repo : updates Matched from: Filename : /usr/bin/tor-resolve tor-0.3.1.7-1.fc27.x86_64 : Anonymizing overlay network for TCP Repo : fedora Matched from: Filename : /usr/bin/tor-resolve |
Find dependencies list |
dnf repoquery --requires --resolve tor bash-0:4.4.19-1.fc27.x86_64 glibc-0:2.26-27.fc27.i686 glibc-0:2.26-27.fc27.x86_64 libevent-0:2.0.22-6.fc27.x86_64 libseccomp-0:2.3.3-1.fc27.x86_64 openssl-libs-1:1.1.0h-3.fc27.x86_64 shadow-utils-2:4.5-4.fc27.x86_64 systemd-0:234-10.git5f8984e.fc27.i686 systemd-0:234-10.git5f8984e.fc27.x86_64 systemd-libs-0:234-10.git5f8984e.fc27.x86_64 torsocks-0:2.1.0-6.fc27.x86_64 zlib-0:1.2.11-4.fc27.x86_64 repoquery --requires --resolve tor shadow-utils-2:4.5-4.fc27.x86_64 bash-0:4.4.19-1.fc27.x86_64 glibc-0:2.26-27.fc27.x86_64 libevent-0:2.0.22-6.fc27.x86_64 systemd-0:234-10.git5f8984e.fc27.x86_64 glibc-0:2.26-15.fc27.i686 zlib-0:1.2.11-4.fc27.x86_64 torsocks-0:2.1.0-6.fc27.x86_64 systemd-libs-0:234-8.fc27.x86_64 libseccomp-0:2.3.2-5.fc27.x86_64 systemd-0:234-8.fc27.i686 openssl-libs-1:1.1.0f-9.fc27.x86_64 |