sh/shell/alias/apt.sh

72 lines
690 B
Bash
Raw Normal View History

2023-05-09 20:02:34 +00:00
# show package information
2023-05-14 14:54:43 +00:00
alias ac="\
apt-cache \
show \
"
# package versions policy
alias acp="\
apt-cache \
policy \
"
2023-05-09 20:02:34 +00:00
# search package
2023-05-14 14:54:43 +00:00
alias acs="\
apt-cache \
search \
"
2023-05-09 20:02:34 +00:00
2023-05-14 14:54:43 +00:00
#
alias agap="\
apt-get \
autopurge \
"
2023-05-09 20:02:34 +00:00
2023-05-14 14:54:43 +00:00
#
alias agar="\
apt-get \
autoremove \
"
2023-05-09 20:02:34 +00:00
2023-05-14 14:54:43 +00:00
# clean packages cache
alias agc="\
apt-get \
clean \
"
2023-05-09 20:02:34 +00:00
# upgrade allowing package installation or removal
2023-05-14 14:54:43 +00:00
alias agdu="\
apt-get \
dist-upgrade \
"
2023-05-09 20:02:34 +00:00
# install packages
2023-05-14 14:54:43 +00:00
alias agi="\
apt-get \
install \
"
2023-05-09 20:02:34 +00:00
2023-05-14 14:54:43 +00:00
#
alias agp="\
apt-get \
purge \
"
#
alias agr="\
apt-get \
remove \
"
# update packages catalog
alias agud="\
apt-get \
update \
"
# upgrade forbidding package installation or removal
alias agug="\
apt-get \
upgrade \
"