how to check whether a package is installed in ubuntu code example Example: ubuntu see if package is installed dpkg -l {package_name}