Searching, Installing and Removing Tools
apt update
- Update the local apt cache
apt upgrade
- Update packages and system
- Take a snapshot before you upgrade!
apt-cache search
And apt show
apt-cache search
→ Searches the cache for a keyword- Searches the package description, not the package name
apt show <package-name> | less
to reveal why the package showed up in the cache search query
apt install
- Install a package
apt Remove --purge
- Completely removes the package
--purge
also removes configuration files
dpkg
- Core tool to install a tool
- For offline installations
- does not install dependencies
- Usage:
sudo pdkg -i <path to .deb file>
Relevant Note(s): Linux Basics