How to find whether a package is installed on Linux Mint?

How to find whether a package is installed on Linux Mint? For example, I would like to check whether ghostscript is installed.

asked Aug 17, 2014 by Eric Z Ma (43,500 points)

1 Answer

 
Best answer

Using dpkg:

dpkg -l

List all available packages (installed and not installed):

apt-cache pkgnames
answered Aug 17, 2014 by Eric Z Ma (43,500 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...