How to Install and Uninstall ghostscript Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: October 06,2024

1. Install "ghostscript" package

Here is a brief guide to show you how to install ghostscript on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install ghostscript

2. Uninstall "ghostscript" package

Please follow the guidelines below to uninstall ghostscript on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove ghostscript $ sudo apt autoclean && sudo apt autoremove

3. Information about the ghostscript package on Ubuntu 21.04 (Hirsute Hippo)

Package: ghostscript
Architecture: amd64
Version: 9.53.3~dfsg-7
Multi-Arch: foreign
Priority: optional
Section: text
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Printing Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 231
Provides: postscript-viewer
Depends: libgs9 (= 9.53.3~dfsg-7), libc6 (>= 2.4)
Suggests: ghostscript-x
Filename: pool/main/g/ghostscript/ghostscript_9.53.3~dfsg-7_amd64.deb
Size: 49004
MD5sum: 14273651b3995deddb9447c796d6ac39
SHA1: 333fe5b8d35759595296abc65863b7df31ee8b27
SHA256: 2b7b3aa9282c1f52498c8257785fd8ab8cb61c9e58c043d0310c0733e3e8abef
SHA512: aa7d6799c668c156247c78ccd2a48245218cce98ef6f9791190050232bcd59cfbf24b48bdb411cd88b095e7e717f1e0c5993994e1b3585df74adb8374efad609
Homepage: https://www.ghostscript.com/
Description-en: interpreter for the PostScript language and for PDF
GPL Ghostscript is used for PostScript/PDF preview and printing.
Usually as a back-end to a program such as ghostview, it can display
PostScript and PDF documents in an X11 environment.
.
Furthermore, it can render PostScript and PDF files as graphics to be
printed on non-PostScript printers. Supported printers include common
dot-matrix, inkjet and laser models.
Description-md5: 3b69f5ec8191e8f0d88dd3e30e7b1b69
Task: print-server, ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi