How To Install hershey-fonts-data on Debian 11

In this tutorial we learn how to install hershey-fonts-data on Debian 11. hershey-fonts-data is Hershey vector fonts collection

Introduction

In this tutorial we learn how to install hershey-fonts-data on Debian 11.

What is hershey-fonts-data

hershey-fonts-data is:

The Hershey fonts are a collection of vector fonts developed circa 1967 by Dr. A. V. Hershey.

This package includes Latin, Greek, Cyrilic, Japanese, and various symbol glyph sets encoded as .jhf format Hershey font files.

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

Install hershey-fonts-data Using apt-get

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

sudo apt-get update

After updating apt database, We can install hershey-fonts-data using apt-get by running the following command:

sudo apt-get -y install hershey-fonts-data

Install hershey-fonts-data Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install hershey-fonts-data using apt by running the following command:

sudo apt -y install hershey-fonts-data

Install hershey-fonts-data 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 hershey-fonts-data using aptitude by running the following command:

sudo aptitude -y install hershey-fonts-data

How To Uninstall hershey-fonts-data on Debian 11

To uninstall only the hershey-fonts-data package we can use the following command:

sudo apt-get remove hershey-fonts-data

Uninstall hershey-fonts-data And Its Dependencies

To uninstall hershey-fonts-data and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove hershey-fonts-data

Remove hershey-fonts-data Configurations and Data

To remove hershey-fonts-data configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge hershey-fonts-data

Remove hershey-fonts-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hershey-fonts-data

Dependencies

hershey-fonts-data have the following dependencies:

References

Summary

In this tutorial we learn how to install hershey-fonts-data package on Debian 11 using different package management tools: apt, apt-get and aptitude.