$ sudo apt-get install ghostscript Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libeatmydata1 Use 'sudo apt autoremove' to remove it. Suggested packages: ghostscript-x The following NEW packages will be installed: ghostscript 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 97.9 kB of archives. After this operation, 237 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 ghostscript amd64 9.53.3~dfsg-7+deb11u1 [97.9 kB] Fetched 97.9 kB in 0s (333 kB/s) Selecting previously unselected package ghostscript. (Reading database ... 254731 files and directories currently installed.) Preparing to unpack .../ghostscript_9.53.3~dfsg-7+deb11u1_amd64.deb ... Unpacking ghostscript (9.53.3~dfsg-7+deb11u1) ... Setting up ghostscript (9.53.3~dfsg-7+deb11u1) ... Processing triggers for man-db (2.9.4-2) ...
$ which gs /usr/bin/gs $ gs --version 9.53.3 $