Advanced Packaging Tool
|Stable release||0.8.0 / August 24, 2010 (2010-08-24)|
|Preview release||0.8.0~pre2 / August 23, 2010 (2010-08-23)|
|Platform||Unix and Unix-like operating systems|
|Type||Package management system|
|License||GNU General Public License|
The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.
APT was originally designed as a front-end for dpkg to work with Debian's .deb packages, but it has since been modified to also work with the RPM Package Manager system via apt-rpm. The Fink project has ported APT to Mac OS X for some of its own package management tasks, and APT is also available in OpenSolaris (included in the Nexenta OS distribution). Telesphoreo is a project dedicated to porting APT to certain mobile operating systems. The project has currently completed a port to the iOS.
- 1 Usage
- 2 Configuration and files
- 3 Sources
- 4 APT pinning
- 5 Front-ends
- 6 History
- 7 See also
- 8 References
- 9 External links
This Page is about Ubuntu, but the commands should work in Real Debian too...
The apt-get command is a powerful command-line tool used to work with Ubuntu's Advanced Packaging Tool (APT) performing such functions as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu system.
Being a simple command-line tool, apt-get has numerous advantages over other package management tools available in Ubuntu for server administrators. Some of these advantages include ease of use over simple terminal connections (SSH) and the ability to be used in system administration scripts, which can in turn be automated by the cron scheduling utility.
Some examples of popular uses for the apt-get utility:
Install a Package: Installation of packages using the apt-get tool is quite simple. For example, to install the network scanner nmap, type the following:
sudo apt-get install nmap
Remove a Package: Removal of a package or packages is also a straightforward and simple process. To remove the nmap package installed in the previous example, type the following:
sudo apt-get remove nmap
Multiple Packages: You may specify multiple packages to be installed or removed, separated by spaces.
Also, adding the --purge options to apt-get remove will remove the package configuration files as well. This may or may not be the desired effect so use with caution.
Update the Package Index: The APT package index is essentially a database of available packages from the repositories defined in the
/etc/apt/sources.listfile. To update the local package index with the latest changes made in repositories, type the following:
sudo apt-get update
Upgrade Packages: Over time, updated versions of packages currently installed on your computer may become available from the package repositories (for example security updates). To upgrade your system, first update your package index as outlined above, and then type:
sudo apt-get upgrade
For information on upgrading to a new Ubuntu release see the section called “Upgrading”.
Actions of the apt-get command, such as installation and removal of packages, are logged in the /var/log/dpkg.log log file.
For further information about the use of APT, read the comprehensive Debian APT User Manual or type:
apt-get helpGo there... https://help.ubuntu.com/8.04/serverguide/C/apt-get.html
Links for Debian Package Manager apt-get
- apt get - Google Search
- APT HOWTO (Obsolete Documentation)