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