check installed packages ubuntu code example
Example 1: how to find installed packages in ubuntu
apt list --installed
Example 2: ubuntu list latest installed packages
apt list --installed | grep [name]
Example 3: ubuntu see if package is installed
dpkg -l {package_name}