if (( ! $+commands[apt-get] )); then return 1 fi alias pacupg='sudo apt-get update && sudo apt-get install' alias pacin='sudo apt-get install' # Install specific package(s) from the repositories alias pacu='sudo dpkg -i' # Install specific package not from the repositories but from a file alias pacre='sudo apt-get remove' # Remove the specified package(s), retaining its configuration(s) and required dependencies alias pacrem='sudo apt-get remove --auto-remove' # Remove the specified package(s), its configuration(s) and unneeded dependencies alias pacrm='sudo apt-get remove --auto-remove' # Remove the specified package(s), its configuration(s) and unneeded dependencies alias pacsi='apt-cache show' # Display information about a given package in the repositories alias pacss='apt-cache search' # Search for package(s) in the repositories alias pacqi='dpkg --status' # Display information about a given package in the local database alias pacqs='dpkg --list' # Search for package(s) in the local database alias pacl='dpkg --listfiles' # List all files owned by package(s) alias paco='dpkg --search' # List package owning the given file(s) alias pacdep='sudo apt-mark auto' # Mark package as dependency alias pacexp='sudo apt-mark manual' # Mark package as explicit