43 lines
1.1 KiB
Fish
43 lines
1.1 KiB
Fish
# Common package management
|
|
#------------------------------------------------------
|
|
|
|
# Install / remove
|
|
abbr inst "sudo dnf install -y"
|
|
abbr uinst "sudo dnf remove"
|
|
abbr pkgrm "sudo dnf remove"
|
|
abbr purge "sudo dnf remove"
|
|
|
|
# Upgrade / maintenance
|
|
abbr upgr "sudo dnf upgrade -y"
|
|
abbr autoremove "sudo dnf autoremove -y"
|
|
abbr pkgclean "sudo dnf clean all"
|
|
|
|
# Search / information
|
|
abbr pkgsh "dnf search"
|
|
abbr pkginfo "dnf info"
|
|
abbr pkgls "dnf list installed"
|
|
|
|
# Package relationships
|
|
abbr pkgdep "dnf repoquery --requires"
|
|
abbr pkgrdep "dnf repoquery --whatrequires"
|
|
|
|
# Package ownership / files
|
|
abbr pkgfiles "dnf repoquery --list"
|
|
abbr pkgowner "dnf provides"
|
|
|
|
# Installed package information
|
|
abbr pkgstatus "rpm -qi"
|
|
abbr pkgverify "rpm -V"
|
|
|
|
# DNF-specific
|
|
#------------------------------------------------------
|
|
|
|
# Package groups
|
|
abbr pkggroups "dnf group list"
|
|
|
|
# Repository management
|
|
abbr pkgrepols "dnf repolist"
|
|
abbr pkgrepoinfo "dnf repoinfo"
|
|
|
|
# Transaction history
|
|
abbr pkghistory "dnf history" |