command to check installed packages in ubuntu machine code example Example: how to find installed packages in ubuntu apt list --installed