Apt package manager
Things about the
apt package manager used by Ubuntu and friends (e.g. PopOS).
Sorry Debian, I know very little about you.
apt vs apt-get
apt command is more suited towards interactive use, including commonly-used commands from
apt-cache. And it comes with a nice progress bar.
apt-get is geared towards scripting use due to its stable interface.
apt-fast for faster downloads
apt-fast is shellscript wrapper for
aptitude that can drastically improve
apt download times by downloading packages in parallel, with multiple connections per package.
Usage of apt-fast
apt-fast is a drop-in replacement of
apt-get. e.g. you can use
sudo apt-fast update,
sudo apt-fast dist-upgrade
Should your download stall for any number of reasons, you’ll need to do an
Synaptic the GUI package manager
apt-xapian-index offers quick filter search box in
Use of apt-key is deprecated. Debian manpage
One may receive a
apt-key add is deprecated message from Ubuntu 20.10 and newer when adding keys from 3rd party repos.
It is recommended to put keys directly into
.ascfor text public keys
.gpgfor binary public keys
For example, instead of this
Fix apt package manager
Try these commands to fix borked apt package registry. Taken from System76 docs.