Skip to content

Commit

Permalink
aliases/package-manager: Add DNF (dandified yum) aliases (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
trb143 authored Jul 25, 2023
1 parent d2d780b commit a75f284
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions aliases/package-manager.aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,22 @@ fi
# fi
# fi

# Fedora Package - dnf
if _omb_util_binary_exists dnf; then
alias dnf="${_omb_tmp_sudo}dnf" # DNF Packaging Tool
alias dnfl="${_omb_tmp_sudo}dnf list" # List
alias dnfli="${_omb_tmp_sudo}dnf list installed" # List Installed
alias dnfgl="${_omb_tmp_sudo}dnf grouplist" # Group List
alias dnfmc="${_omb_tmp_sudo}dnf makecache" # Make Cache
alias dnfp="${_omb_tmp_sudo}dnf info" # Show Package Info
alias dnfs="${_omb_tmp_sudo}dnf search" # Search

alias dnfu="${_omb_tmp_sudo}dnf upgrade" # Update
alias dnfi="${_omb_tmp_sudo}dnf install" # Install
alias dnfgi="${_omb_tmp_sudo}dnf group install" # Group Install
alias dnfr="${_omb_tmp_sudo}dnf remove" # Remove
alias dnfgr="${_omb_tmp_sudo}dnf groupremove" # Group Remove
alias dnfc="${_omb_tmp_sudo}dnf clean all" # Clean All
fi

unset -v _omb_tmp_sudo

0 comments on commit a75f284

Please sign in to comment.