dnf.rst
changeset 2576 67368165da98
parent 2575 9615c2645c93
--- 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.