Package management in Linux
There are many different tools available to manage software on a Linux distribution. Some of these include the APT and RPM package managers.
Raspbian uses the Advanced Packaging Tool, also known as the APT. The APT handles the dependencies of any package. Installation and removal of software packages are handled by an application called dpkg. It is the recommended way to install any software on your Raspberry Pi. Every part of Raspbian is bundled into a package.
The APT can automatically download the software that you want to install from repositories that are preconfigured. A repository is a collection of precompiled software that can be installed. These repositories are automatically selected, based on your location, to maximize download speed. It also automatically handles updates of all the software packages that are installed on your Raspberry Pi. The APT was first released in 1998 and is often hailed as one of Debian's best features.