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