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