check if package is installed ubuntu terminal code example Example: how to find installed packages in ubuntu apt list --installed