=====Package Management===== ==== Install and Update Software Packages with DNF==== It stands for Dandified Yum All installation and removal transactions are logged in the /var/log/dnf.rpm.log file The dnf history command displays a summary of installation and removal transactions. Similar to yum history. dnf history undo Will reverse the transaction Here are some dnf options and their features ^ option ^ what it does ^ ^ list | displays installed and available packages | ^ Search | list packages by keywords in name and summary fields option is **all** | ^ info | gives detailed info about a package | ^ provides //pathname// | Displays packages that match the specified path name | ^ install/remove | obtains and install a package and its dependencies (or removes | ^ update | updates a package and any associated dependencies | ^ group list | shows names of installed and available groups | ^ group info | displays info about a group including list of mandatory, default and optional packages | ^ group install | installs the manadatory and default packages and their dependencies of a group | ^ history | shows summary installation and removal transactions | ^ repolist | lists available repositories | RH9 comes with 2 default repositories Red Hat Enterprise Linux 9.0 Appstream Red Hat Enterprise Linux 9.0 BaseOS Adding repos is done with **config-manager** here isa an example [root@servera ~]# dnf config-manager \ --add-repo "http://content.example.com/rhel9.0/x86_64/rhcsa-practice/rht"