sudo apt update
apt list --upgradable
apt list --upgradable -a
apt upgrade
apt upgrade -y
apt-cache search foo
OR apt search foo
apt-cache show foo
OR apt show foo
apt-cache
The apt-cache
command can display much of the information stored in APT’s internal database. This information is a sort of cache since it is gathered from the different sources listed in the sources.list
file. This happens during the apt update
operation.