I would like official documentation explaining why Ubuntu uses apt instead of dpkg.
Here's what I've found about each:
dpkg
This package provides the low-level infrastructure for handling the installation and removal of Debian software packages.
apt
This package provides commandline tools for searching and managing as well as querying information about packages as a low-level access to all features of the libapt-pkg library.
aptordpkg? And the answer becomes "dpkgis not able to download from source repositories, etc. it's a 'dumb tool' to install Debian packages in .deb format.aptis what actually downloads from the repositories and checks for repository updates, etc. and then knows what to download when you runapt installfor a given package.dpkgis the 'dumb tool', whereasaptis the smart tool and can help decipher what dependencies also need installed, etc. and then handle yelling if there's an uninstallable package. – Thomas Ward May 06 '22 at 19:45man aptandman dpkg-- Ubuntu has bothaptanddpkg. All Debian based distributions have bothaptanddpkg.aptis just a user friendly, more intelligent, dependency resolving front end for the lower leveldpkg. If you want more information, read the duplicate I have posted. Everything you've asked here is covered in the duplicate. – Nmath May 06 '22 at 20:00- https://askubuntu.com/questions/705885/difference-between-dpkg-i-and-apt-get-install
- https://askubuntu.com/questions/91205/can-apt-do-everthing-dpkg-can
– user10489 May 08 '22 at 00:10