If you have searched through the internet for Linux how-to's, chances are you have come across the command apt. Apt or aptitude is the default command line based package manager for Ubuntu. With apt you can install, upgrade, and remove software. In this article, we will cover the basic commands used along side apt to help you better manage Ubuntu on ShellsTM.
These commands should be run with sudo
To update your package list
To upgrade your packages (done after you have updated your package list)
Or to update and upgrade at once you can use double ampersands &&
To install a package
To remove a package (uninstall)
Purge a package (this will remove all binaries but keep files associated with them)
To search for a packages
To see if you have a package already installed
To list all packages already installed
These are just a few basic commands to help you manage your packages on Ubuntu using apt.