updated notes
This commit is contained in:
@@ -700,3 +700,18 @@ sudo nano /etc/yum.repos.d/rhel.repo
|
|||||||
# Add the following line to the rhel.repo file:
|
# Add the following line to the rhel.repo file:
|
||||||
gpgcheck=0
|
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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user