linux apt list available packages code example Example: check installed packages apt-get apt list --installed