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 \ +"