apt search installed package code example Example 1: check installed packages apt-get apt list --installed Example 2: apt find package apt-cache search package