summaryrefslogtreecommitdiff
path: root/etc/aliases/debian
blob: 1ca5e2df4b577024e58168749d5bfea57ce2b852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## vim:ft=zsh
## Debian package system (aptitude/apt-get, apt-cache, dpkg)

# Search the packages list
alias acse='apt-cache search'
alias afse='apt-file search'
alias apse='aptitude search'

# Show package information
alias acp='apt-cache policy'
alias acsh='apt-cache show'
alias afsh='apt-file show'
alias apsh='aptitude show'
alias dps='dpkg --status'

# Update packages list
salias agu='apt-get update'
salias apu='aptitude update'

# Update packages
salias ags='apt-get upgrade'
salias agf='apt-get dist-upgrade'
salias aps='aptitude safe-upgrade'
salias apf='aptitude full-upgrade'

# Install packages
salias agi='apt-get install'
salias api='aptitude install'
salias dpi='dpkg --install'

# Clean packages cache
salias agc='apt-get clean'
salias apc='aptitude clean'

# Remove/Purge packages
salias agar='apt-get autoremove'
salias agp='apt-get purge'
salias agr='apt-get remove'
salias dpp='dpkg --purge'
salias dpr='dpkg --remove'

# Get package source
alias agsrc='apt-get source'

# Configure packages
salias dprc='dpkg-reconfigure'