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 Read more: 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”? Finding Which Package Provides a File in Ubuntu Linux and Linux Mint How to upgrade packages installed by ELPA in Emacs? VirtualBox report “Kernel driver not installed” on Fedora 21 Finding All Available Versions of a Package in Ubuntu List Files from a .deb Package in Ubuntu Linux How to quickly find out which rpm package provides a command on Fedora Linux?