APT-GET(8) APT APT-GET(8) (NAME) apt-get - APT (SYNOPSIS) apt-get [-sqdyfmubV] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {update | upgrade | dselect-upgrade | dist-upgrade | install pkg [{=pkg_version_number | /target_release}]... | remove pkg... | purge pkg... | source pkg [{=pkg_version_number | /target_release}]... | build-dep pkg [{=pkg_version_number | /target_release}]... | download pkg [{=pkg_version_number | /target_release}]... | check | clean | autoclean | autoremove | {-v | --version} | {-h | --help}} (DESCRIPTION) apt-get (backend) APT . aptitude(8) synaptic(8) wajig(1) . -h --help . update update . /etc/apt/sources.list . Packages.gz . update upgrade dist-upgrade . . upgrade upgrade /etc/apt/sources.list . . . update apt-get . . dist-upgrade dist-upgrade upgrade . apt-get <<>> . dist-upgrade . /etc/apt/sources.list . apt_preferences(5) . . dselect-upgrade dselect-upgrade dselect(1) . dselect-upgrade dselect(1) (Status) ( ) . install install . ( apt-utils apt-utils_3.3.3_amd64.deb). . /etc/apt/sources.list . (-) ( ) . (+) . apt-get . (=) . . (/) (>>stable<< >>testing<< >>unstable<<) . (downgrade) . . >>upgrade<< >>install<< . ( ) . apt_preferences(5) . >>.<< >>?<< >>*<< POSIX . ( ) . >>lo.*<< >>how-lo<< >>lowest<< . >>^<< >>$<< . APT 2.0 apt(8) . apt-get(8) . apt- patterns(7) . reinstall reinstall install --reinstall . remove remove install . . (+) ( ) . purge purge remove ( ). source source apt-get . APT . . APT::Default-Release -t <</>> . . --only-source . deb-src sources.list(5) . ( / ) . --compile dpkg-buildpackage --host-architecture .deb . --download-only . (=) . APT::Get::Only-Source . dpkg (tarball) . build-dep build-dep apt-get (build-dependencies) . (native) . --host-architecture . . --only-source . satisfy satisfy apt-get . (build profiles) . "Conflicts: " . . : apt-get satisfy "foo" "Conflicts: bar" "baz (>> 1.0) | bar (= 2.0), moo" >><< >><=/>=<< . check check () . download download . . clean clean . /var/cache/apt/archives/ /var/cache/apt/archives/partial/ . autoclean ( auto-clean 1.1) clean autoclean . . . APT::Clean-Installed >>off<< . distclean ( dist-clean) distclean Release Release.gpg InRelease /var/lib/apt/lists . . Release . autoremove ( auto-remove 1.1) autoremove . autopurge autoremove autopurge . autoremove --purge . changelog changelog (changelog) sensible-pager . . install . indextargets indextargets Deb822 ( index targets) apt-get update . --format . APT . /usr/share/doc/apt/acquire-additional-files.md.gz apt-doc . (OPTIONS) . (boolean) -f- --no-f -f=no . --no-install-recommends (recommended) . : APT::Install-Recommends. --install-suggests (suggested) . : APT::Install-Suggests. -d, --download-only . : APT::Get::Download-Only. -f, --fix-broken . >>install<>remove<< APT . . APT . APT . ( dpkg --remove ). -m . : APT::Get::Fix-Broken. -m, --ignore-missing, --fix-missing ( ) . -f . ( ) . : APT::Get::Fix-Missing. --no-download . --ignore-missing APT deb . : APT::Get::Download. -q, --quiet () . >>q<< ( ). -q=# . -y . -qq ( -d --print-uris -s) APT . : quiet. -s, --simulate, --just-print, --dry-run, --recon, --no-act . (Debug::NoLocking) apt-get . (non-root) APT . (APT::Get::Show-User-Simulation-Note). : APT::Get::Simulate. dpkg : (Conf) (Remv) (Inst). (). -y, --yes, --assume-yes <<>> <<>> . ( ) apt-get . : APT::Get::Assume-Yes. --assume-no <<>> . : APT::Get::Assume-No. --no-show-upgraded . : APT::Get::Show-Upgraded. -V, --verbose-versions . : APT::Get::Show-Versions. --no-list-columns . >>ls<< . : APT::Get::List-Columns. --comment Comment: history.log . : APT::History::Comment. -a, --host-architecture apt-get source --compile (cross-build dependencies) . ( APT::Architecture ). : APT::Get::Host-Architecture. -P, --build-profiles apt-get source --compile . . . : APT::Build-Profiles. -b, --compile, --build . : APT::Get::Compile. --ignore-hold apt-get <<>> (hold) . dist-upgrade . : APT::Ignore-Hold. --with-new-pkgs upgrade . . upgrade . upgrade . : APT::Get::Upgrade-Allow-New. --no-upgrade install no-upgrade . : APT::Get::Upgrade. --only-upgrade install only-upgrade . : APT::Get::Only-Upgrade. --allow-downgrades APT (downgrade) . . . : APT::Get::allow-downgrades. APT 1.1. --allow-remove-essential <<>> APT . . . : APT::Get::allow-remove-essential. APT 1.1. --allow-change-held-packages <<>> APT (held packages) . . ! : APT::Get::allow-change-held-packages. APT 1.1. --force-yes <<>> APT . . force-yes ! : APT::Get::force-yes. 1.1 --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages . --print-uris (URI) . URI MD5 . . source update . update MD5 . : APT::Get::Print-URIs. --purge >>purge<< >>remove<< . (>>*<<) . remove --purge purge . : APT::Get::Purge. --reinstall . : APT::Get::ReInstall. --list-cleanup . --no-list-cleanup . apt-get /var/lib/apt/lists . . : APT::Get::List-Cleanup. -S, --snapshot (snapshot) Snapshot: enable . -S 20220102T030405Z :: UTC . : APT::Snapshot sources.list(5) . -t, --target-release, --default-release (policy engine) (pin) . /etc/apt/preferences . . . -t '2.1*' -t unstable -t sid . : APT::Default-Release apt_preferences(5) . --trivial-only <<>> (trivial) . --assume-yes --assume-yes <<>> --trivial-only <<>> . : APT::Get::Trivial-Only. --mark-auto . apt-mark auto . : APT::Get::Mark-Auto. --no-remove apt-get . : APT::Get::Remove. --auto-remove, --autoremove install remove autoremove . : APT::Get::AutomaticRemove. --only-source source build-dep . . . : APT::Get::Only-Source. --diff-only, --dsc-only, --tar-only diff dsc tar . : APT::Get::Diff-Only APT::Get::Dsc-Only APT::Get::Tar-Only. --arch-only . : APT::Get::Arch-Only. --indep-only . : APT::Get::Indep-Only. --arch-only --indep-only . --allow-unauthenticated . . Trusted sources.list(5) . : APT::Get::AllowUnauthenticated. --allow-insecure-repositories >>update<< . APT >>update<< . apt-secure(8) . : Acquire::AllowInsecureRepositories. --allow-releaseinfo-change ( ) . APT . apt-secure(8) . (--allow-releaseinfo-change-Field) origin label codename suite version defaultpin . apt_preferences(5) . : Acquire::AllowReleaseInfoChange. --show-progress . README.progress-reporting apt/doc . : Dpkg::Progress Dpkg::Progress-Fancy. --with-source filename () . . --with-source apt-cache(8) . -eany, --error-on=any . -U, --update update . install remove safe-upgrade full-upgrade . --snapshot . : . (syntactic sugar) apt update && apt install . -h, --help -v, --version --audit ( ). >>quiet<< . -c, --config-file . . APT_CONFIG . apt.conf(5) . -o, --option . -o Foo::Bar=bar . -o --option . --cli-version (CLI). MAJOR.MINOR . MINOR (minor) . : 3.2 0.32 1.22 2.12 . X.9 : 2.9 3.0 2.10 2.8 (2.9 3.0 ). 3.1.10 APT . APT::Version -o APT::Version=2 apt(8) 2.x . APT apt(8) 0.(10 * major + minor) . 0.X (soft-deprecated) 2.x . --no-color, --color . apt(8) NO_COLOR APT_NO_COLOR APT::Color apt.conf(5) . (FILES) /etc/apt/sources.list . : Dir::Etc::SourceList. /etc/apt/sources.list.d/ . : Dir::Etc::SourceParts. /etc/apt/apt.conf APT. : Dir::Etc::Main. /etc/apt/apt.conf.d/ APT. : Dir::Etc::Parts. /etc/apt/preferences . (pinning) . : Dir::Etc::Preferences. /etc/apt/preferences.d/ . : Dir::Etc::PreferencesParts. /var/cache/apt/archives/ . : Dir::Cache::Archives. /var/cache/apt/archives/partial/ . : Dir::Cache::Archives ( partial ) /var/lib/apt/lists/ sources.list(5). : Dir::State::Lists. /var/lib/apt/lists/partial/ . : Dir::State::Lists ( partial ) (SEE ALSO) apt-cache(8), apt-cdrom(8), dpkg(1), sources.list(5), apt.conf(5), apt- patterns(7), apt-config(8), apt-secure(8), APT /usr/share/doc/apt-doc/, apt_preferences(5), APT (the APT Howto). (DIAGNOSTICS) apt-get 0 100 . (BUGS) APT[1]. APT /usr/share/doc/debian/bug-reporting.txt reportbug(1) . (AUTHORS) Jason Gunthorpe APT (NOTES) 1. APT https://bugs.debian.org/src:apt APT 3.3.3 20 May 2026 APT-GET(8)