If you’re managing Debian or Ubuntu servers, probably, you may use dpkg or apt-get commands often. These two commands are used to install, remove, update packages.
In this brief tutorial, let us see how to check if a package is installed or not in DEB based systems.
Full article here:
Linux Basics: How To Check If A Package Is Installed Or Not In Ubuntu (Unixmen)