Penguin
Blame: DebianPackageTools
EditPageHistoryDiffInfoLikePages
Annotated edit history of DebianPackageTools version 6, including all changes. View license author blame.
Rev Author # Line
5 MattBrown 1 One of [Debian]'s strengths is its PackageManagement system. This system is made up of many individual tools that manipulate and query your installed packages and the available package database. This page contains a list of all these commands. It is not meant to be a command reference, so command-line flags and usage, etc, is not discussed. Use this page to learn the capabilites of each tool and then look use each tools manpage to teach yourself how to use it.
1 JohnButtery 2
5 MattBrown 3 !!! Tools for everyday use
3 AristotlePagaltzis 4 ; %%% __apt-get__ : Every Debian user knows this one; it's the basic tool that's used to organize the installation of packages (dpkg does the actual installing, apt-get handles dependencies, etc). Apt-get itself is text-mode, although it may ask installation questions in a X11 window depending on system configuration.
5 MattBrown 5 ; %%% __aptitude__ : An ncurses-based frontend for apt-get that's a lot friendlier than dselect. Recommended as a precursor to, or replacement for, dselect.
3 AristotlePagaltzis 6 ; %%% __apt-cache__ : This command is used to search the contents of your local package database. Searches with apt-cache are different from searches with dpkg in that an apt-cache search will cover the entire contents whatever is in your sources list (as opposed to dpkg searches, which only search the contents of installed packages). Text-mode.
5 MattBrown 7 ; %%% __synaptic__ : Originally designed for !SuSe Linux, there is a Debian-adapted version of this X11-based apt-get frontend that works really well for what I call "package shopping"...going through the full list of what's available. Synaptic is now the default graphical package manager shipped in [Ubuntu].
8
9 !!! Tools for advanced use
10 ; %%% __dpkg__ : This is the basic package utility, that handles installing packages, removing them, and getting information from them. All the other tools are frontends for dpkg, and many users rarely use it directly.
3 AristotlePagaltzis 11 ; %%% __dselect__ : An ncurses-based frontend for apt-get that handles package dependencies, suggestions, recommendations, etc. Use of this program is recommended for not necessarily "advanced" users, but for people who are willing to wade through a very terse and sometimes confusing interface. Many people have blamed this tool for making sweeping changes to their package installations that they didn't intend to make. Approach with caution. :)
12 ; %%% __apt-file__ : Search for a filename installed by any package in the contents of sources.list.
13 ; %%% __apt-listchanges__ : Display the relevant changelog entries whenever a package is upgraded.
14 ; %%% __apt-build__ : Download the source package for something, build it on the fly, and install the newly built binary package. This normally isn't necessary, since Debian's packages will already be built against the libraries you have (since Debian, unlike other distributions, is a coherent package ''set'' rather than just an FTP site full of unrelated packages), but with apt-build you can optionally apply patches to the source tree after downloading but before building. The command "apt-build world" does what you'd expect it to do...I'm afraid of this and haven't tried it myself. :)
15 ; %%% __apt-cdrom__ : Add a CD-ROM with packages on it to your sources.list.
16 ; %%% __apt-rdepends__ : Generates recursive dependency trees for a package.
17 ; %%% __apt-spy__ : Generates a sources.list file from the current list of mirrors, after testing them for latency/bandwidth.
18 ; %%% __apt-show-versions__ : Shows all available versions of a package (allows wildcards), or all packages, and displays upgrade information where applicable.
19 ; %%% __dpkg-reconfigure__ : Allows you to reconfigure package preferences (the same questions that are asked when the package is installed).
20 ; %%% __apt-show-source__ : Variant of "apt-cache show" that shows information for the source version of the package named, rather than the binary version.
21 ; %%% __apt-listbugs__ : Shows critical bugs in named packages. Can be run anytime, but specifically intended to help users that track the "unstable" distribution from upgrading to a package that catastrophically breaks the system.
22 ; %%% __apt-zip__ : Allows non-networked machines to benefit from apt by exporting a list of packages selected for install, then later installing those packages from removable media after another machine has downloaded them.
23 ; %%% __apt-config__ : This one doesn't really count, as it's not meant to be used directly...this program is used by the other apt utilities to provide a standard interface to the apt configuration settings.
24 ; %%% __apt-sortpkgs__ : Recreates Sources and Packages files with the records sorted and within each record, the fields sorted.
25 ; %%% __apt-extracttemplates__ : Extracts templates and install scripts from packages.
26 ; %%% __apt-setup__ : Sets up the sources.list file (this gets run during the initial OS install, for example)
27 ; %%% __auto-apt__ : From the package description: auto-apt checks the file access of programs running within its environments, and if a program tries to access a file known to belong in an uninstalled package, auto-apt will install that package using apt-get.
5 MattBrown 28
29 !!! Tools for creating/managing a package repository
30 ; %%% __apt-cacher__ : Alternative to apt-proxy
6 IanMcDonald 31 ; %%% [apt-proxy] : Specialized HTTP proxy server made to proxy access to one or more apt repositories. This is very useful on a LAN, where the entire network can get packages from a central machine that only downloads from the mirrors once.
5 MattBrown 32 ; %%% __apt-proxy-import__ : Imports packages into a cache used by apt-proxy.
33 ; %%% __apt-ftparchive__ : Generates, from a directory of packages, the "Packages" and "Sources" control files used for an apt repository.
34 ; %%% __apt-move__ : Moves a collection of Debian packages into a proper "pool" directory hierarchy as used by a package repository.
4 PerryLorier 35
36 ----
37 CategoryDebian

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 4 times)