list all packages installed in apt-get code example Example: check installed packages apt-get apt list --installed