As an Ubuntu Linux user, I love the way that Ubuntu installs, manages, and removes software packages. In this post, hence, I will write about a powerful tool used in Ubuntu Linux. It's APT (Advanced Packaging Tool).

After reading this tutorial you are able to:

  • Know what is a packaging system in Ubuntu Linux
  • Know how to update your package database
  • Know how to search a package from the package database
  • Know how to get more details about a given package
  • Know how to install a new package from the repository
  • Know how to remove an existing package in your Ubuntu box

  1. Packaging system in Ubuntu Linux
  2. The packaging system uses a private database to keep track of which packages are installed, which are not installed and which are available for installation. This database is known as a package database which is maintained via Ubuntu repositories. Ubuntu uses a control file located in /etc/apt/sources.list to support APT for searching, updating, and installing packages. You can also read this post to know more about how to recover your sources.list file.

  3. Updating your package database
  4. Searching a package to install
  5. Getting information of a given package
  6. Installing a debian package
  7. Upgrading a given debian package
  8. Removing a debian package