Linux

Install ghostscript on Ubuntu: sudo apt-get install ghostscript

Learn how to install ghostscript with the command sudo apt-get install ghostscript on Ubuntus.

Quick installation of ghostscript:

Step 1: Update system:

sudo apt-get update

Step 2: Install: ghostscript

Ater updaing the OS run following command to install the packae:

sudo apt-get install ghostscript

Package Details

Package:ghostscript
Version:9.05~dfsg-0ubuntu4.3
Maintainer:Ubuntu Developers
Home page:http://www.ghostscript.com/
Description: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. Multi-Arch: foreign Homepage: http://www.ghostscript.com/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:text

How to install ghostscript on Ubuntu 12.04 LTS?

First of all update your system with the command:

sudo apt-get update

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If ghostscript is not installed on your compter then the command 'dpkg -L ghostscript' will give followin error.




	

Installing ghostscript:

After system update use the following command to install ghostscript:

sudo apt-get install ghostscript

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove ghostscript from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the ghostscript from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the ghostscript following command is used:

sudo apt-get remove  ghostscript

Following command is used to remove the ghostscript package along with its dependencies:

sudo apt-get remove --auto-remove ghostscript

This will remove ghostscript and all its dependent packages which is no longer needed in the system.

Completely removing ghostscript with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge ghostscript

or you can use following command also:

sudo apt-get purge --auto-remove ghostscript

Above command will remove all the configuration files and data associated with ghostscript package. You can can't recover the delete data, so, use this command with care.

Get our newsletter

Categories