How to find whether a package is installed on Linux Mint? For example, I would like to check whether ghostscript is installed. Using dpkg:dpkg -l List all available packages (installed and not installed):apt-cache pkgnames Related posts:Query Installed Files from Package and Package for Installed File in Fedora How to find which package can be installed for a file, like “yum provides”? How to find which package provides a file in Linux Mint? How to find all available versions of a package in dpkg, apt-get or aptitude? How to list all files from a .deb package? How to upgrade packages installed by ELPA in Emacs? VirtualBox report “Kernel driver not installed” on Fedora 21 How to install ffmpeg on Linux Mint 17 Qiana?