check installed apt packages code example Example: how to check installed apps in ubuntu apt list --installed