how to get package list in ubuntu code example Example: check installed packages apt-get apt list --installed