tags: [ packaging ]
To find packages matching :
To show information on a package:
To fetch package list:
To download and install the updates and (UNLIKE apt-get) install new necessary packages:
To download and install the updates AND install new necessary packages
AND remove packages that stand in the way of the upgrade - use with caution:
To perform a full system upgrade:
apt update && apt upgrade # use dist-upgrade carefully if needed
To install package(s):
apt install ...
To uninstall package(s):
apt remove ...
To remove automatically all unused packages:
To list dependencies of a package:
apt depends ...
To remove packages and delete their config files:
apt purge ...
To list all packages installed:
apt list --installed