apt see if package is installed code example Example: ubuntu see if package is installed dpkg -l {package_name}