Package Management#
Red Hat Family#
RHEL, CentOS, Fedora, Rocky, Alma#
Common#
My system is already subscribed how do I list all of the repositories available?
subscription-manager repos --list
It's an offline exam, so we shouldn't assume that we'll be able to use subscription manager. We may have to configure the repo's like we did for the RHCSA.
If you have the repository URL, how do you easily generate the repository client file?
dnf config-manager --add-repo=http://reposerver.example.com/BaseOS
For the exam, manually edit the file so that it includes the line gpgcheck=0 since that's not needed and setting it up is more complicated.