X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/81d183681aea972fddd453d62109f8ccda3f447a..e39698a485e332742b935292dc4329abf19cbb53:/doc/apt.8.xml?ds=inline diff --git a/doc/apt.8.xml b/doc/apt.8.xml index 0340e043f..8d3b00fb3 100644 --- a/doc/apt.8.xml +++ b/doc/apt.8.xml @@ -13,7 +13,6 @@ - &apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; @@ -30,30 +29,40 @@ apt - APT package -- command-line interface + command-line interface &synopsis-command-apt; Description - apt is the command-line tool for handling packages. It provides a commandline interface for the package management of the system. + apt (Advanced Package Tool) is the + command-line tool for handling packages. It provides a commandline + interface for the package management of the system. See also &apt-get; and &apt-cache; for more low-level command options. - - update is used to - resynchronize the package index files from their sources. + + list is used to + display a list of packages. It supports shell pattern for matching + package names and the following options: + , + , + + are supported. - + - - upgrade is used to install the - newest versions of all packages currently installed on the system - from the sources enumerated in - /etc/apt/sources.list. New package will be - installed, but existing package will never removed. + + search searches for the given + term(s) and display matching packages. + + + + + show shows the package information + for the given package(s). @@ -80,6 +89,35 @@ installed instead of removed. + + edit-sources lets you edit + your sources.list file and provides basic sanity checks. + + + + + update is used to + resynchronize the package index files from their sources. + + + + + upgrade is used to install the + newest versions of all packages currently installed on the system + from the sources enumerated in + /etc/apt/sources.list. New package will be + installed, but existing package will never removed. + + + + + full-upgrade performs the + function of upgrade but may also remove installed packages + if that is required in order to resolve a package conflict. + + + + @@ -93,30 +131,48 @@ + Script usage + + The &apt; commandline is designed as a end-user tool and it may + change the output between versions. While it tries to not break + backward compatibility there is no guarantee for it either. + All features of &apt; are available in &apt-cache; and &apt-get; + via APT options. Please prefer using these commands in your scripts. + + + Differences to &apt-get; The apt command is meant to be pleasant for end users and does not need to be backward compatilbe like &apt-get;. Therefore some options are different: - The option DPkgPM::Progress-Fancy is enabled. + + The option DPkgPM::Progress-Fancy is enabled. + - The option APT::Color is enabled. + + The option APT::Color is enabled. + - A new list command is available - similar to dpkg --list. + + A new list command is available + similar to dpkg --list. + - The option upgrade has - --with-new-pkgs enabled by default. + + The option upgrade has + --with-new-pkgs enabled by default. + - + See Also - &apt-get; &apt-cache;, &sources-list;, + &apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT User's guide in &guidesdir;, &apt-preferences;, the APT Howto.