This article explains how quickly you can learn to install, remove, update and search software packages using apt-get and apt-cache commands from the command line. This article provides some useful commands that will help you to handle package management in Debian/Ubuntu based systems.
What is apt-get?
The
apt-get utility is a powerful and free package management command line program, that is used to work with
Ubuntu’s APT (
Advanced Packaging Tool)
library to perform installation of new software packages, removing
existing software packages, upgrading of existing software packages and
even used to upgrading the entire operating system.
What is apt-cache?
The
apt-cache command line tool is used for
searching apt software package cache. In simple words, this tool is used
to search software packages, collects information of packages and also
used to search for what available packages are ready for installation on
Debian or
Ubuntu based systems.