How To Install fonts-texgyre on Debian 11

In this tutorial we learn how to install fonts-texgyre on Debian 11. fonts-texgyre is OpenType fonts based on URW Fonts

Introduction

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

What is fonts-texgyre

fonts-texgyre is:

The TeX Gyre project, following the Latin Modern project, aims at providing a rich collection of diacritical characters in the attempt to cover as many Latin-based scripts as possible.

This package provides the OpenType variant of these fonts. For support for TeX and Type 1 (PostScript) fonts, see the tex-gyre package.

The TeX-GYRE bundle consists of seven font families:

The TeX Gyre Adventor family of fonts is based on the URW Gothic L family (designed by Herb Lubalin and Tom Carnase).

The TeX Gyre Bonum family of fonts is based on the URW Bookman L family (designed by Alexander Phemister).

The TeX Gyre Chorus font is based on URW Chancery L Medium Italic (designed by Hermann Zapf (ITC Zapf Chancery(R), 1979)).

The TeX Gyre Cursor family is based on the URW Nimbus Mono L family (designed by Howard G. (Bud) Kettler in 1955 for the IBM corporation).

The TeX Gyre Heros family of fonts is based on the URW Nimbus Sans L (prepared by Max Miedinger, with Eduard Hoffmann).

The TeX Gyre Pagella family of fonts is based on the URW Palladio L family (designed by Hermann Zapf).

The TeX Gyre Schola family of fonts is based on the URW Century Schoolbook L family (designed by Morris Fuller Benton).

The TeX Gyre Termes is based on the URW Nimbus Roman No9 L family (designed by Stanley Morison together with Starling Burgess and Victor Lardent).

The constituent 4 standard faces of each family have been greatly extended, and contain nearly 1200 glyphs each. Each family is available in Adobe Type 1 and Open Type formats, and LaTeX support (for use with a variety of encodings) is provided. Vietnamese characters were added by Han The Thanh.

There are three methods to install fonts-texgyre 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 fonts-texgyre Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fonts-texgyre

Install fonts-texgyre Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-texgyre

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

sudo aptitude -y install fonts-texgyre

How To Uninstall fonts-texgyre on Debian 11

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

sudo apt-get remove fonts-texgyre

Uninstall fonts-texgyre And Its Dependencies

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

sudo apt-get -y autoremove fonts-texgyre

Remove fonts-texgyre Configurations and Data

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

sudo apt-get -y purge fonts-texgyre

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

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

sudo apt-get -y autoremove --purge fonts-texgyre

Dependencies

fonts-texgyre have the following dependencies:

References

Summary

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