You must log in or # to comment.
The binary is called apt-get. There are others like apt-cache etc.
Apt is a script that just figures out which binary to use and passes the arguments on.
- apt update -> apt-get update
- apt policy -> apt-cache policy
These days,
aptis for humans whereasapt-getis for scripts.apt’s output is designed for humans and may change between releases, whereasapt-getis guaranteed to remain consistent to avoid breaking scripts.aptcombines several commands together. For example, you can use it to install packages from both repos and local files (e.g.apt install ./foo.deb) whereasapt-getis only for packages from repos and you’d need to usedpkgfor local packages.



