How To Install libgs10-common on Debian 12

Learn how to install libgs10-common on Debian 12 with this tutorial. libgs10-common is interpreter for the PostScript language and for PDF - common files

Introduction

In this tutorial we learn how to install libgs10-common on Debian 12.

What is libgs10-common

libgs10-common is:

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.

This package provides common architecture-independent files needed by the GPL Ghostscript library.

By default, GPL Ghostscript uses a font from the fonts-droid package to approximate glyphs in PDFs for which the requested CJK TrueType font is missing. If the fonts-droid package is not installed, these glyphs will be rendered as bullets.

There are three methods to install libgs10-common on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgs10-common Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libgs10-common using apt-get by running the following command:

sudo apt-get -y install libgs10-common

Install libgs10-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgs10-common using apt by running the following command:

sudo apt -y install libgs10-common

Install libgs10-common Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgs10-common using aptitude by running the following command:

sudo aptitude -y install libgs10-common

How To Uninstall libgs10-common on Debian 12

To uninstall only the libgs10-common package we can use the following command:

sudo apt-get remove libgs10-common

Uninstall libgs10-common And Its Dependencies

To uninstall libgs10-common and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libgs10-common

Remove libgs10-common Configurations and Data

To remove libgs10-common configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libgs10-common

Remove libgs10-common configuration, data, and all of its dependencies

We can use the following command to remove libgs10-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgs10-common

Dependencies

libgs10-common have the following dependencies:

References

Summary

In this tutorial we learn how to install libgs10-common package on Debian 12 using different package management tools: apt, apt-get and aptitude.