check if package is installed ubuntu code example
Example 1: how to check installed apps in ubuntu
apt list --installed
Example 2: how to check installed apps in ubuntu
apt list --installed | grep program_name
Example 3: ubuntu see if package is installed
dpkg -l {package_name}