ghostscript-x software package provides interpreter for the PostScript language and for PDF - X11 support, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install ghostscript-x
ghostscript-x is installed in your system.
Make ensure the ghostscript-x package were installed using the commands given below,
$ sudo dpkg-query -l | grep ghostscript-x *
You will get with ghostscript-x package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Text Processing |
| Package | ghostscript-x |
| Version | 9.19~dfsg-3.1 |
| Description | interpreter for the PostScript language and for PDF - X11 support |
| Sub Section | Text |