apt-get show if package is installed code example Example: check installed packages apt-get apt list --installed