X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/060a7b746c87d4717222df5bb14d85b756f39208..c307a4f0aa29c9c52a0e028524d21b448a53d09b:/doc/apt-get.8.xml diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index 5c82ad201..65929e733 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -33,84 +33,8 @@ APT package handling utility -- command-line interface - - - - apt-get - - - - - - - - - - - target_release - - - - - 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 - check - clean - autoclean - autoremove - - - -v - --version - - - - - -h - --help - - - - - - + &synopsis-command-apt-get; + Description apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT @@ -240,7 +164,7 @@ source causes apt-get to fetch source packages. APT will examine the available packages to decide which source package to fetch. It will then find and download into the current directory the - newest available version of that source package while respect the + newest available version of that source package while respecting the default release, set with the option APT::Default-Release, the option or per package with the pkg/release syntax, if possible. @@ -254,8 +178,10 @@ If the option is specified then the package will be compiled to a binary .deb using - dpkg-buildpackage, if - is specified then the source package will not be unpacked. + dpkg-buildpackage for the architecture as + defined by the --host-architecture option. + If is specified then the source package + will not be unpacked. A specific source version can be retrieved by postfixing the source name with an equals and then the version to fetch, similar to the mechanism @@ -270,7 +196,9 @@ build-dep build-dep causes apt-get to install/remove packages in an - attempt to satisfy the build dependencies for a source package. + attempt to satisfy the build dependencies for a source package. By default the dependencies are + satisfied to build the package natively. If desired a host-architecture can be specified + with the option instead. check @@ -278,6 +206,12 @@ for broken dependencies. + download + download will download the given + binary package into the current directory. + + + clean clean clears out the local repository of retrieved package files. It removes everything but the lock file from @@ -300,7 +234,7 @@ autoremove autoremove is used to remove packages that were automatically - installed to satisfy dependencies for some package and that are no more needed. + installed to satisfy dependencies for other packages and are now no longer needed. changelog @@ -331,6 +265,11 @@ Configuration Item: APT::Install-Recommends. + + Consider suggested packages as a dependency for installing. + Configuration Item: APT::Install-Suggests. + + Download only; package files are only retrieved, not unpacked or installed. Configuration Item: APT::Get::Download-Only. @@ -411,6 +350,11 @@ Configuration Item: APT::Get::Assume-Yes. + + Automatic "no" to all prompts. + Configuration Item: APT::Get::Assume-No. + + Show upgraded packages; Print out a list of all packages that are to be upgraded. @@ -422,20 +366,22 @@ Configuration Item: APT::Get::Show-Versions. + + + This option controls the architecture packages are built for + by apt-get source --compile and how cross-builddependencies + are satisfied. By default is it not set which means that the host architecture + is the same as the build architecture (which is defined by APT::Architecture). + Configuration Item: APT::Get::Host-Architecture + + + Compile source packages after downloading them. Configuration Item: APT::Get::Compile. - - Also install recommended packages. - - - - Do not install recommended packages. - - Ignore package Holds; This causes apt-get to ignore a hold placed on a package. This may be useful in conjunction with