Differences between revisions 33 and 67 (spanning 34 versions)
Revision 33 as of 2019-08-13 19:24:16
Size: 6283
Editor: nodiscc
Comment: ad dpkg-www link
Revision 67 as of 2020-01-03 02:32:42
Size: 6614
Editor: leela52452
Comment: pdbv removed from debian package tracker
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from PackageManagement/PkgTools
Line 3: Line 4:
## Convert the command's titles into links when the wikipage is created
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/PackageManagement/PkgTools|Español]] - [[fr/PackageManagement/PkgTools|Français]] - [[it/PackageManagement/PkgTools|Italiano]] - [[ko/PackageManagement/PkgTools|한국어(Korean)]] -~ ||<style="text-align: right; border: 0px hidden"> (!) [[/Discussion|Discussion]]||

||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[es/PackageManagement/PkgTools|Español]] - [[fr/PackageManagement/PkgTools|Français]] - [[it/PackageManagementTools|Italiano]] - [[ko/PackageManagement/PkgTools|한국어(Korean)]]||
Line 6: Line 8:
= Package Management Tools =
Line 8: Line 9:
The are several tools available on a Debian system for the management of packages and the package database. This is just a list of the commands related to the topic, to access complete information on the options and arguments used in each command, use the [[ManPage|manpages]]. Many tools available on a Debian system can be used for PackageManagement. Commonly used ones include:
Line 10: Line 11:
A more complete list of tools may be obtained by installing the {{{debtags}}} package and typing:
{{{
aptitude search '~Gadmin::package-management~Gsuite::debian'
}}}
'''[[CommandLineInterface|command-line]]:'''
Line 15: Line 13:
== Tools for everyday use ==   * [[AptCLI|apt]] - The main command-line package management tool
  * [[aptitude]] - command-line and [[WikiPedia:Text-based%20user%20interface|text-based interface]] (ncurses) for Apt
Line 17: Line 16:
|| [[Synaptic|synaptic]] |||| Graphical package manager (default for Gnome). ||
|| [[kpackage]] |||| KDE Debian Package Manager (default for KDE). ||
|| [[aptitude]] |||| Terminal-based apt frontend ([[Ncurses|ncurses]] interface).||
|| [[Wajig]] |||| Wajig is a wrapper tool for apt-get, dpkg, apt-cache, wget, and others ||
|| [[PackageKit]] |||| Distro-agnostic frontend under developement ||
|| [[DebianPkg:gdebi]] |||| graphical frontend for Gnome which integrates with DebianPkg:nautilus.||
'''[[WikiPedia:Graphical_user_interface|graphical]]:'''
Line 24: Line 18:
== Tools for advanced use ==   * [[Synaptic]] - Graphical package manager
  * [[DebPkg:gdebi]] - Graphical installer for standalone [[DebianPackage]]s
  * [[DebPkg:gnome-software]] - Software Center for GNOME
Line 26: Line 22:
|| apt |||| Advanced package tool ||
|| apt-key |||| This tool is used for managing package authentication keys ||
|| [[dpkg]] |||| This is the main utility program that handles installation and removal of packages. All other tools are frontends for dpkg, and many users rarely use this tool directly. ||
|| [[apt-get]] |||| Used to organize the installation of packages (dpkg does the actual installing, apt-get handles dependencies, etc). ||
|| apt-cache |||| Used to search the contents of the entire package database in the sources list (as opposed to dpkg searches, which only search the contents of installed packages). ||
|| dpkg-deb |||| This tool is used to pack, unpack and provides information about package files. ||
|| dpkg-divert |||| A tool for installing a package in a non-default location ||
|| dpkg-query |||| A tool for querying the package database ||
|| dpkg-statoverride |||| A tool for overriding modes and ownerships of files ||
|| apt-file |||| This tool searches for a filename installed by any package in the contents of sources.list. ||
|| apt-listchanges |||| This tool displays the relevant changelog entries whenever a package is upgraded. ||
|| [[apt-build]] |||| Used to build packages from the source files ||
|| apt-cdrom |||| This tool allows [[CDROM|cdrom]] based sources to be included in the package sources list. ||
|| apt-rdepends |||| This tool generates recursive dependency trees for a package. ||
|| apt-spy |||| This tool is used to generate a sources.list file from the current list of mirrors, based on latency/bandwidth. ||
|| apt-show-versions |||| shows all available versions of a package (allows wildcards), or all packages, and displays upgrade information where applicable. ||
|| dpkg-reconfigure |||| Allows a package to be reconfigured based on preferences (the same questions that are asked when the package is first installed). ||
|| apt-show-source |||| This is a variant of "apt-cache show" that shows information against the named source package, rather than the binary package. ||
|| apt-listbugs |||| This tool shows known critical bugs in named packages. ||
|| [[AptZip|apt-zip]] |||| This tool allows non-networked machines to export a list of packages selected for install using removable media. ||
|| apt-config |||| This program is used by the other apt utilities to provide a standard interface to the apt configuration settings. ||
|| apt-sortpkgs |||| Sorts records and fields within the sources and packages files. ||
|| apt-extracttemplates |||| Extracts templates and install scripts from packages. ||
|| apt-setup |||| This tool configures the sources.list file. ||
|| apt-offline |||| Offline Package Management ||
|| auto-apt |||| This tool checks the file access of programs running within its environments, and automatically installs packages if a program tries to access a file known to belong in an uninstalled package. ||
|| deborphan |||| This tool scans the package database for unused or redundant packages||
|| DebPkg:dpkg-www |||| Debian package management web interface - browse Debian packages on a local or remote host using a normal web browser. ||
This page tries to list all software related to Debian package management.

----

<<TableOfContents(3)>>

== Full list of package management tools ==

=== apt ===

The [[DebPkg:apt]] package provides commandline tools for searching, managing, and querying information about packages, and access all features of the libapt-pkg library:

 * '''[[AptCLI|apt]]''' - high-level commandline interface for the package management system.
 * DebianMan:apt-cache - performs a variety of operations on APT's package cache.
 * DebianMan:apt-cdrom - used to add a new CD-ROM to APT's list of available sources.
 * DebianMan:apt-config - This program is used by the other apt utilities to provide a standard interface to the apt configuration settings.
 * [[apt-get]] - command-line tool for handling packages
 * DebianMan:apt-key - manage the list of keys used by apt to authenticate packages.

=== dpkg ===

The [[DebPkg:dpkg]] package provides low-level infrastructure for handling the installation and removal of Debian software packages:

 * DebianMan:dpkg - a tool to install, build, remove and manage Debian packages.
 * DebianMan:dpkg-deb - Debian package archive (.deb) manipulation tool
 * DebianMan:dpkg-divert - override a package's version of a file
 * DebianMan:dpkg-maintscript-helper - works around known dpkg limitations in maintainer scripts
 * DebianMan:dpkg-query - show information about packages listed in the dpkg database.
 * DebianMan:dpkg-split - splits binary packages into smaller files and reassembles them(storage of large package files on small media)
 * DebianMan:dpkg-statoverride - override ownership and mode of files
 * DebianMan:dpkg-trigger - a tool to explicitly activate dpkg triggers
 * DebianMan:update-alternatives - maintain symbolic links determining default commands
Line 57: Line 57:
DebPkg:apt-utils contains some less used commandline utilities related to package management with APT.

|| apt-ftparchive |||| create Packages and other index files
   needed to publish an archive of Debian packages ||
[[DebPkg:apt-utils]] contains some less used commandline utilities related to package management with APT.
Line 65: Line 61:
DebPkg:devscripts provides several scripts to make the life of a Debian Package maintainer easier [[DebPkg:devscripts]] provides several scripts to make the life of a Debian Package maintainer easier
Line 67: Line 63:
|| debuild |||| This tool is used for rebuilding packages ||  * DebianMan:debuild - This tool is used for rebuilding packages
Line 69: Line 65:
=== dpkg-dev ===

[[DebPkg:dpkg-dev]] provides the development tools (including dpkg-source) required to unpack, build and upload Debian source packages.

 * DebianMan:dpkg-scanpackages - create Debian Packages index files from binary packages (.deb and variants)
 * DebianMan:dpkg-scansources - create Debian Sources index files from source packages (.dsc)

=== TODO unsorted ===

 * DebianPkg:apt-file - This tool searches for a filename installed by any package in the contents of sources.list.
 * DebianPkg:apt-listchanges - This tool displays the relevant changelog entries whenever a package is upgraded.
 * DebianPkg:apt-build - Used to build packages from the source files
 * DebPkg:apt-cdrom-setup - This tool allows [[CDROM|cdrom]] based sources to be included in the package sources list.
 * DebianPkg:apt-rdepends - This tool generates recursive dependency trees for a package.
 * DebianPkg:apt-show-versions - shows all available versions of a package (allows wildcards), or all packages, and displays upgrade information where applicable.
 * DebianMan:dpkg-reconfigure - Allows a package to be reconfigured based on preferences (the same questions that are asked when the package is first installed).
 * DebianPkg:apt-show-source - This is a variant of "apt-cache show" that shows information against the named source package, rather than the binary package.
 * DebianPkg:apt-listbugs - This tool shows known critical bugs in named packages.
 * DebianMan:apt-sortpkgs - Sorts records and fields within the sources and packages files.
 * DebianMan:apt-extracttemplates - Extracts templates and install scripts from packages.
 * DebianPkg:apt-setup - This tool configures the sources.list file.
 * DebianPkg:apt-offline - Offline Package Management
 * DebianPkg:deborphan - This tool scans the package database for unused or redundant packages
 * DebPkg:dpkg-www - Debian package management web interface - browse Debian packages on a local or remote host using a normal web browser.
 * [[DebPkg:apt-xapian-index]] - a tool to maintain a [[WikiPedia:Xapian|Xapian]] index of Debian package information and a command line search tool that uses the index.
 * [[wajig]] - wrapper tool for apt-get, dpkg, apt-cache, wget, and others
Line 72: Line 94:
|| apt-cacher |||| This is an alternative tool to apt-proxy. ||
|| apt-proxy |||| This is a specialized proxy server for accessing apt repositories. This can be used on a network to get packages from a central server that only downloads from the mirrors once. ||
|| apt-proxy-import |||| Imports packages into a cache used by apt-proxy. ||
|| apt-ftparchive |||| generates, from a directory of packages, the Packages and Sources control files used for an apt repository. ||
|| apt-move |||| Moves a collection of Debian packages into a proper pool directory hierarchy as used by a package repository. ||
|| apt-transport-https |||| Allows apt to be configured to use https ||
 * DebianPkg:apt-cacher - This is an alternative tool to apt-proxy.
 * DebianMan:apt-ftparchive - generates, from a directory of packages, the Packages and Sources control files used for an apt repository.
 * DebianPkg:apt-move - Moves a collection of Debian packages into a proper pool directory hierarchy as used by a package repository.
 * DebianPkg:apt-transport-https - Allows apt to be configured to use https
Line 79: Line 99:
== Alternative tools == == Other ==
 * DebPkg:dselect - Deprecated: superseded by aptitude
 * [[tasksel]] – Tool for selecting tasks for installation on Debian systems
 * [[PackageKit]] - Distro-agnostic frontend under developement
Line 81: Line 104:
|| gdpm |||| Gnome Debian Package Manager (in development). ||
|| gnome-apt |||| Gnome Advanced Package Tool (in development). ||
|| pdbv |||| A tool for creating an xhtml view of the package database. ||
|| dselect |||| Deprecated: superseded by aptitude ||
=== See also ===

 * Get a list of package management tools (requires [[DebPkg:debtags]]): `aptitude search '~Gadmin::package-management~Gsuite::debian'`
 * [[Packaging]]
 * [[https://www.linux.com/news/housekeeping-utilities-debian-packages/|Housekeeping utilities for Debian packages]] ([[DebianPkg:debfoster]], [[DebianPkg:deborphan]], [[DebianPkg:debsecan]])
Line 88: Line 112:
CategoryPackageManagement | CategoryQuickPackageManagement '''TODO:''' add links to each command's manpage


----

CategoryPackageManagement | CategorySoftware

Translation(s): English - Español - Français - Italiano - 한국어(Korean)


Many tools available on a Debian system can be used for PackageManagement. Commonly used ones include:

command-line:

graphical:

This page tries to list all software related to Debian package management.


Full list of package management tools

apt

The apt package provides commandline tools for searching, managing, and querying information about packages, and access all features of the libapt-pkg library:

  • apt - high-level commandline interface for the package management system.

  • apt-cache - performs a variety of operations on APT's package cache.

  • apt-cdrom - used to add a new CD-ROM to APT's list of available sources.

  • apt-config - This program is used by the other apt utilities to provide a standard interface to the apt configuration settings.

  • apt-get - command-line tool for handling packages

  • apt-key - manage the list of keys used by apt to authenticate packages.

dpkg

The dpkg package provides low-level infrastructure for handling the installation and removal of Debian software packages:

  • dpkg - a tool to install, build, remove and manage Debian packages.

  • dpkg-deb - Debian package archive (.deb) manipulation tool

  • dpkg-divert - override a package's version of a file

  • dpkg-maintscript-helper - works around known dpkg limitations in maintainer scripts

  • dpkg-query - show information about packages listed in the dpkg database.

  • dpkg-split - splits binary packages into smaller files and reassembles them(storage of large package files on small media)

  • dpkg-statoverride - override ownership and mode of files

  • dpkg-trigger - a tool to explicitly activate dpkg triggers

  • update-alternatives - maintain symbolic links determining default commands

apt-utils

apt-utils contains some less used commandline utilities related to package management with APT.

devscripts

devscripts provides several scripts to make the life of a Debian Package maintainer easier

  • debuild - This tool is used for rebuilding packages

dpkg-dev

dpkg-dev provides the development tools (including dpkg-source) required to unpack, build and upload Debian source packages.

  • dpkg-scanpackages - create Debian Packages index files from binary packages (.deb and variants)

  • dpkg-scansources - create Debian Sources index files from source packages (.dsc)

TODO unsorted

  • apt-file - This tool searches for a filename installed by any package in the contents of sources.list.

  • apt-listchanges - This tool displays the relevant changelog entries whenever a package is upgraded.

  • apt-build - Used to build packages from the source files

  • apt-cdrom-setup - This tool allows cdrom based sources to be included in the package sources list.

  • apt-rdepends - This tool generates recursive dependency trees for a package.

  • apt-show-versions - shows all available versions of a package (allows wildcards), or all packages, and displays upgrade information where applicable.

  • dpkg-reconfigure - Allows a package to be reconfigured based on preferences (the same questions that are asked when the package is first installed).

  • apt-show-source - This is a variant of "apt-cache show" that shows information against the named source package, rather than the binary package.

  • apt-listbugs - This tool shows known critical bugs in named packages.

  • apt-sortpkgs - Sorts records and fields within the sources and packages files.

  • apt-extracttemplates - Extracts templates and install scripts from packages.

  • apt-setup - This tool configures the sources.list file.

  • apt-offline - Offline Package Management

  • deborphan - This tool scans the package database for unused or redundant packages

  • dpkg-www - Debian package management web interface - browse Debian packages on a local or remote host using a normal web browser.

  • apt-xapian-index - a tool to maintain a Xapian index of Debian package information and a command line search tool that uses the index.

  • ?wajig - wrapper tool for apt-get, dpkg, apt-cache, wget, and others

Tools for managing a package repository

  • apt-cacher - This is an alternative tool to apt-proxy.

  • apt-ftparchive - generates, from a directory of packages, the Packages and Sources control files used for an apt repository.

  • apt-move - Moves a collection of Debian packages into a proper pool directory hierarchy as used by a package repository.

  • apt-transport-https - Allows apt to be configured to use https

Other

  • dselect - Deprecated: superseded by aptitude

  • tasksel – Tool for selecting tasks for installation on Debian systems

  • PackageKit - Distro-agnostic frontend under developement

See also


TODO: add links to each command's manpage


CategoryPackageManagement | CategorySoftware