ubuntu:dpkg:check_if_a_package_is_installed_or_not
Ubuntu - dpkg - Check if a package is installed or not
sudo dpkg -s [package name] or sudo dpkg -s [package name] | grep Status
Example
dpkg -s lsof | grep Status
returns:
Status: install ok installed
ubuntu/dpkg/check_if_a_package_is_installed_or_not.txt · Last modified: 2023/06/18 14:45 by peter