apt
This commit is contained in:
parent
bb55e1f358
commit
2c8add321a
1 changed files with 63 additions and 15 deletions
|
@ -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 \
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue