From 006cc419442c7a6597b537cfa6b95eae1b61c259 Mon Sep 17 00:00:00 2001 From: Hugh Ratsch Date: Tue, 18 Feb 2025 16:56:59 -0600 Subject: [PATCH] updated notes --- src/rhcsa.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/rhcsa.md b/src/rhcsa.md index c4d051a..ce7aeb9 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -700,3 +700,18 @@ sudo nano /etc/yum.repos.d/rhel.repo # Add the following line to the rhel.repo file: gpgcheck=0 ``` + +### dnf groups +```bash +sudo dnf group list # List all groups +sudo dnf group list --hidden # List all hidden groups + +sudo dnf group install "Development Tools" # Install the Development Tools group +sudo dnf group install --with-optional "Development Tools" # Install the Development Tools group with optional packages +sudo dnf group info "Development Tools" # Display information about the Development Tools group +sudo dnf group remove "Development Tools" # Remove the Development Tools group + +sudo dnf history # Display the history of the packages +sudo dnf history undo 1 # Undo the last package installation +sudo less /var/log/dnf.rpm.log # Display the dnf log +``` \ No newline at end of file