dpkg how to check if package is installed?
Use one of the following commands to find this information: apt Package Manager or apt-cache command or dpkg-query command or dpkg Package Manager. Find out if a package is installed using the apt-cache command.