view apt package commands code example Example: check installed packages apt-get apt list --installed