# HG changeset patch # User Oleksandr Gavenko # Date 1705617182 -7200 # Node ID 67368165da982fa00fef18c31909a202fa577f37 # Parent 9615c2645c93773cba4284c99ef106c76f01d7e5 EPEL diff -r 9615c2645c93 -r 67368165da98 dnf.rst --- a/dnf.rst Thu Jan 18 23:46:05 2024 +0200 +++ b/dnf.rst Fri Jan 19 00:33:02 2024 +0200 @@ -84,10 +84,13 @@ dnf provides ifconfig dnf repoquery --file /usr/sbin/ifconfig + repoquery --whatprovides python3 + repoquery --whatprovides libssl*.so.* Using installed package DB:: rpm -qf /usr/bin/rpm + rpm -q --whatprovides /bin/bash Limit search to a specific repository:: @@ -97,9 +100,10 @@ ========================= :: + dnf deplist $PKG repoquery --requires --resolve $PKG -If you possess a actual RPM:: +If you possess an actual RPM (``-q`` or ``--query``, ``-R`` or ``–requires``):: rpm -qpR $RPM @@ -155,10 +159,23 @@ sudo dnf module reset nodejs sudo dnf module install nodejs:16 +Extra Packages for Enterprise Linux +=================================== + +EPEL stands for Extra Packages for Enterprise Linux and you can enable them by installing a special +package:: + + sudo dnf install epel-release + sudo dnf install epel-next-release + +https://docs.fedoraproject.org/en-US/epel/ + Extra Packages for Enterprise Linux (EPEL). +https://fedoraproject.org/wiki/EPEL/FAQ + EPEL FAQ. + Subscription manager ==================== - https://developers.redhat.com/articles/renew-your-red-hat-developer-program-subscription To renew subscription just login to https://developers.redhat.com/ and wait 15 min.