82e946659a
In Fedora, all dnf commands require root.
16 lines
789 B
Bash
16 lines
789 B
Bash
## Aliases
|
|
|
|
alias dnfl="sudo dnf list" # List packages
|
|
alias dnfli="sudo dnf list installed" # List installed packages
|
|
alias dnfgl="sudo dnf grouplist" # List package groups
|
|
alias dnfmc="sudo dnf makecache" # Generate metadata cache
|
|
alias dnfp="sudo dnf info" # Show package information
|
|
alias dnfs="sudo dnf search" # Search package
|
|
|
|
alias dnfu="sudo dnf upgrade" # Upgrade package
|
|
alias dnfi="sudo dnf install" # Install package
|
|
alias dnfgi="sudo dnf groupinstall" # Install package group
|
|
alias dnfr="sudo dnf remove" # Remove package
|
|
alias dnfgr="sudo dnf groupremove" # Remove package group
|
|
alias dnfc="sudo dnf clean all" # Clean cache
|