sh/bash/apt.sh
2023-05-09 23:25:21 +02:00

23 lines
497 B
Bash

# show package information
alias ac='apt-cache show'
# search package
alias acs='apt-cache search'
# package versions policy
alias acp='apt-cache policy'
# update packages catalog
alias agud='apt-get update'
# upgrade forbidding package installation or removal
alias agug='apt-get upgrade'
# upgrade allowing package installation or removal
alias agdu='apt-get dist-upgrade'
# install packages
alias agi='apt-get install'
# clean packages cache
alias agc='apt-get clean;apt-get autoremove'