show installed packages and count ubuntu code example Example: how to find installed packages in ubuntu apt list --installed