list of apt-get packages ubuntu code example Example: check installed packages apt-get apt list --installed