SYNOPSIS
apt-get [-hvs] [-o=config string] [-c=file] {[update] | [upgrade] |
[dselect-upgrade] | [install pkg...] | [remove pkg...] |
[source pkg...] | [build-dep pkg...] | [check] | [clean] |
[autoclean]}
apt-get APT dselect(8), aptitude, synaptic, gnome-apt, wajig
-h --help
update
update /etc/apt/sources.list Debian Packages.gz update upgrade
dist-upgrade
upgrade
upgrade /etc/apt/sources.list update apt-get
dselect-upgrade
dselect-upgrade Debian GNU/Linux dselect(8) dselect-upgrade
dselect(8) Status ()
dist-upgrade
dist-upgrade upgrade apt-get /etc/apt/sources.list
apt_preferences(5)
install
install 1 ( Debian GNU/Linux libc6_1.9.6-2.deb libc6 )
/etc/apt/sources.list () apt-get
(stable, testing, unstable)
apt_preferences(5)
'.', '?', '*' POSIX () 'lo.*' 'how-lo' 'lowest' '^' '$'
remove
remove install ()
source
source apt-get APT sources.list(5) deb-src () --compile
dpkg-buildpackage .deb --download-only
APT::Get::Only-Source
tar ball
build-dep
build-dep
- - APT::Get::Download-Only
-f, --fix-broken
- install remove APT APT ( dselect(8) dpkg --remove ) -m
- APT::Get::Fix-Broken
-m, --ignore-missing, --fix-missing
- () -f () - APT::Get::Fix-Missing
--no-download
.deb APT --ignore-missing - APT::Get::Download
-q, --quiet
- 2 q -q=# 2 -y APT -d, --print-uris, -s -qq - quiet
-s, --simulate, --just-print, --dry-run, --recon, --no-act
- - APT::Get::Simulate
dpkg (Conf) (Remv) (Inst) ()
-y, --yes, --assume-yes
- "yes" apt-get - APT::Get::Assume-Yes
-u, --show-upgraded
- - APT::Get::Show-Upgraded
-V, --verbose-versions
- APT::Get::Show-Versions
-b, --compile, --build
- APT::Get::Compile
--ignore-hold
- apt-get dist-upgrade - APT::Ignore-Hold
--no-upgrade
- install no-upgrade - APT::Get::Upgrade
--force-yes
- APT force-yes ! - APT::Get::force-yes
--print-uris
URI URI md5 ! source update update MD5 -
APT::Get::Print-URIs
--purge
("*") - APT::Get::Purge
--reinstall
- APT::Get::ReInstall.
--list-cleanup
--only-source
source build-dep - APT::Get::Only-Source
--diff-only, --tar-only
diff tar - APT::Get::Diff-Only, APT::Get::Tar-Only
--arch-only
- APT::Get::Arch-Only
--allow-unauthenticated
pbuilder - APT::Get::AllowUnauthenticated
-h, --help
-v, --version
-c, --config-file
apt.conf(5)
-o, --option
-o Foo::Bar=bar
/etc/apt/sources.list
- Dir::Etc::SourceList
/etc/apt/apt.conf
APT - Dir::Etc::Main
/etc/apt/apt.conf.d/
APT - Dir::Etc::Parts
/etc/apt/preferences
"pin" - Dir::Etc::Preferences
/var/cache/apt/archives/
- Dir::Cache::Archives
/var/cache/apt/archives/partial/
- Dir::Cache::Archives ()
/var/lib/apt/lists/
sources.list(5) - Dir::State::Lists
/var/lib/apt/lists/partial/
- Dir::State::Lists ()
apt-cache(8), apt-cdrom(8), dpkg(8), dselect(8), sources.list(5),
apt.conf(5), apt-config(8), /usr/share/doc/apt/ APT ,
Author.
APT team
Author.
REFERENCES
1. APT
http://bugs.debian.org/src:apt
Linux 29 February 2004 APT-GET(8)
Man(1) output converted with
man2html