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