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
|
|
|
#
|
2024-11-17 02:25:02 +00:00
|
|
|
agap() {
|
|
|
|
apt-get \
|
|
|
|
autopurge \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-09 20:02:34 +00:00
|
|
|
|
2023-05-14 14:54:43 +00:00
|
|
|
#
|
2024-11-17 02:25:02 +00:00
|
|
|
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
|
2024-11-17 02:20:31 +00:00
|
|
|
agi() {
|
|
|
|
apt-get \
|
|
|
|
install \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-09 20:02:34 +00:00
|
|
|
|
2023-05-14 14:54:43 +00:00
|
|
|
#
|
2024-11-17 02:18:15 +00:00
|
|
|
agp() {
|
|
|
|
apt-get \
|
|
|
|
purge \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-14 14:54:43 +00:00
|
|
|
|
|
|
|
#
|
2024-11-17 02:18:15 +00:00
|
|
|
agr() {
|
|
|
|
apt-get \
|
|
|
|
remove \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-14 14:54:43 +00:00
|
|
|
|
|
|
|
# update packages catalog
|
2024-11-17 02:16:32 +00:00
|
|
|
agud() {
|
|
|
|
apt-get \
|
|
|
|
update \
|
|
|
|
"${@}"
|
|
|
|
}
|
2023-05-14 14:54:43 +00:00
|
|
|
|
|
|
|
# upgrade forbidding package installation or removal
|
2024-11-17 02:16:32 +00:00
|
|
|
agug() {
|
|
|
|
apt-get \
|
|
|
|
upgrade \
|
|
|
|
"${@}"
|
|
|
|
}
|