apt (Advanced Packaging Tool)
- introduced in 2014
- combined the most commonly used features of apt-get and apt-cache into a more user-friendly interface
- key features of APT 1.0 included a simplified command set, colored output for commands like apt update, and progress indicators during installation and removal, making package management more intuitive for users
apt vs apt-get/apt-cache
|
apt command |
the command it replaces |
function of the command |
|---|---|---|
|
|
|
installs a package |
|
|
|
removes a package |
|
|
|
removes package with configuration |
|
|
|
refreshes repository index |
|
|
|
upgrades all upgradable packages |
|
|
|
removes unwanted packages |
|
|
|
upgrades packages with auto-handling of dependencies |
|
|
|
searches for the program |
|
|
|
shows package details |
apt has a few commands of its own as well
|
new apt command |
function of the command |
|---|---|
|
|
lists packages with criteria (installed, upgradable etc) |
|
|
edits sources list |