Chapter 7 sudo

sudo Super User DO is a prefix of commands that only superuser or root users are allowed to run. It is similar to run as administrator option in Windows. It is used to install, update and remove software. We will use it in the next section to install & update packages.

Command Description
dpkg --list List installed packages
sudo apt-get update Update packages
sudo apt-get install Install packages
sudo apt-get remove Remove packages (retain configuration, plugins and settings
sudo apt-get purge Remove packages including personalized settings
sudo apt-get autoremove Remove any dependencies no longer in use