The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.
apt is a command-line tool used by many Linux users to manage their packages. It is used to install, update and remove packages. The most used are apt-get and apt-cache.
The most used commands are:
apt-get [options] install <package>which installs a program.apt-cache [options] search <package>which searches for a program in case you don't know the exact name, or want to check version or any other property of the program. This is not modifying the system.apt-get [options] remove <package>removes a package from the system.
Note: Most operating systems require sudo for the some commands (like the installation of packages) this is only a security measure.