Recent Articles



































Advanced Packaging Tool



         


Advanced Packaging Tool, or APT, is a package management system created by the Debian project. APT greatly simplifies the process of installing and removing software on Unix systems.

There is no apt program per se; APT is a C++ library of functions that are used by several command line programs for dealing with packages, notably apt-get and apt-cache.

There are also programs that provide a front end to APT, usually based on apt-get, like aptitude with a ncurses text interface or synaptic with a GTK+ graphical interface.

There is a central repository of over 13000 apt packages used by apt-get and derived programs to download and install applications directly from the Internet, often hailed as one of Debian's best features.

APT was originally designed to work with .deb packages on Debian systems, but it has since been modified to work with RPM packages via apt4rpm, and to run on other operating systems such as Mac OS X.

The idea in APT is that once package repository has been specified during the system installation, packages can be installed without specifying location. APT also handles dependencies automatically.

For example, suppose a user wants to install a Galeon WWW browser:

# apt-get install galeon Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: capplets capplets-data desktop-base galeon-common gnome-control-center gnome-session libeel2-2 libgnome-desktop-2 libnautilus2-2 Suggested packages: esound-clients gnome kde wmaker gtm gnome-core gnome-audio Recommended packages: epiphany-browser mozilla-mailnews The following NEW packages will be installed: capplets capplets-data desktop-base galeon galeon-common gnome-control-center gnome-session libeel2-2 libgnome-desktop-2 libnautilus2-2 0 upgraded, 10 newly installed, 0 to remove and 21 not upgraded. Need to get 7050kB of archives. After unpacking 19.5MB of additional disk space will be used. Do you want to continue? [Y/n]

APT automatically detects the required missing packages, and will install those automatically. It also shows recommended and suggested packages, summarising which new packages will be installed and how much they will take space after install.

[Top]

Apt-get moo

Apt-get also says something interesting if "apt-get moo" is done:

# apt-get moo (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"...
[Top]

See also

[Top]




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License