ubuntu 16.04 list installed packages dpkg code example Example: check installed packages apt-get apt list --installed