]> git.rmz.io Git - dotfiles.git/blob - zsh/aliases/apt.zsh
lazyvim: absorb snacks notifier
[dotfiles.git] / zsh / aliases / apt.zsh
1 if (( ! $+commands[apt-get] )); then
2 return 1
3 fi
4
5 alias pacupg='sudo apt-get update && sudo apt-get install'
6 alias pacin='sudo apt-get install' # Install specific package(s) from the repositories
7 alias pacu='sudo dpkg -i' # Install specific package not from the repositories but from a file
8 alias pacre='sudo apt-get remove' # Remove the specified package(s), retaining its configuration(s) and required dependencies
9 alias pacrem='sudo apt-get remove --auto-remove' # Remove the specified package(s), its configuration(s) and unneeded dependencies
10 alias pacrm='sudo apt-get remove --auto-remove' # Remove the specified package(s), its configuration(s) and unneeded dependencies
11 alias pacsi='apt-cache show' # Display information about a given package in the repositories
12 alias pacss='apt-cache search' # Search for package(s) in the repositories
13 alias pacqi='dpkg --status' # Display information about a given package in the local database
14 alias pacqs='dpkg --list' # Search for package(s) in the local database
15 alias pacl='dpkg --listfiles' # List all files owned by package(s)
16 alias paco='dpkg --search' # List package owning the given file(s)
17 alias pacdep='sudo apt-mark auto' # Mark package as dependency
18 alias pacexp='sudo apt-mark manual' # Mark package as explicit