shell-host/distro/debian/apt

14 lines
607 B
Plaintext
Raw Normal View History

# apt package manager
# TODO only add if apt is package manager
alias installa="sudo apt-get install"
alias reinstall="sudo apt install --reinstall"
# change depending on distro - need to have backports loaded in apt sources
# FYI can just load individual binaries from the wiki using deb files say from testing or unstable
alias remove="sudo apt-get remove"
alias aremove="sudo apt-get autoremove"
alias purge="sudo apt-get purge"
alias update="sudo apt-get update"
alias pkgst="apt policy"
alias esources='sudo nano /etc/apt/sources.list.d/'
alias ppa='sh -c '\''sudo add-apt-repository ppa:$1/ppa'\'' _'