From 2c8add321a28eb26bfe6ad869a25799a6506afc7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 16:54:43 +0200 Subject: [PATCH] apt --- bash/alias/apt.sh | 78 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 63 insertions(+), 15 deletions(-) diff --git a/bash/alias/apt.sh b/bash/alias/apt.sh index 5de980c..c4a0a7a 100644 --- a/bash/alias/apt.sh +++ b/bash/alias/apt.sh @@ -1,23 +1,71 @@ # show package information -alias ac='apt-cache show' - -# search package -alias acs='apt-cache search' +alias ac="\ +apt-cache \ +show \ +" # package versions policy -alias acp='apt-cache policy' +alias acp="\ +apt-cache \ +policy \ +" -# update packages catalog -alias agud='apt-get update' +# search package +alias acs="\ +apt-cache \ +search \ +" -# upgrade forbidding package installation or removal -alias agug='apt-get upgrade' +# +alias agap="\ +apt-get \ +autopurge \ +" -# upgrade allowing package installation or removal -alias agdu='apt-get dist-upgrade' - -# install packages -alias agi='apt-get install' +# +alias agar="\ +apt-get \ +autoremove \ +" # clean packages cache -alias agc='apt-get clean;apt-get autoremove' +alias agc="\ +apt-get \ +clean \ +" + +# upgrade allowing package installation or removal +alias agdu="\ +apt-get \ +dist-upgrade \ +" + +# install packages +alias agi="\ +apt-get \ +install \ +" + +# +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 \ +"