APT
Advanced package tool, or APT, is a user interface that works with core libraries to handle the installation and removal of software on Debian, and Debian-based linux distributions
Install a package
apt install PACKAGE
Uninstall a package
apt remove PACKAGE
Uninstall a package and delete configuration files
apt purge PACKAGE
List available packages
apt list [--installed | --upgradeable]
Search for a package
apt search PACKAGE
Provide information about a package
apt show PACKAGE
Remove installed dependencies that are no longer required
apt autoremove
Check for updates information from all configured sources
apt update
Install available upgrades
apt upgrade
Install available upgrades and remove obsolete packages
apt full-upgrade
Edit your sources.list file
apt edit-sources
Configuration file
The source list /etc/apt/sources.list and the files contained in /etc/apt/sources.list.d/ are designed to support any number of active sources and a variety of source media. The files list one source per line (one-line style) or contain multiline stanzas defining one or more sources per stanza (deb822 style), with the most preferred source listed first (in case a single version is available from more than one source).
Files in this format have the extension .list. Each line specifying a source starts with a type (e.g. deb-src) followed by options and arguments for this type. Individual entries cannot be continued onto a following line. Empty lines are ignored, and a # character anywhere on a line marks the remainder of that line as a comment. Consequently an entry can be disabled by commenting out the entire line.