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