How To Install tex-gyre on Kali Linux

In this tutorial we learn how to install tex-gyre on Kali Linux. tex-gyre is scalable PostScript and OpenType fonts based on URW Fonts

Introduction

In this tutorial we learn how to install tex-gyre on Kali Linux.

What is tex-gyre

tex-gyre 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 TeX support and Type1 (PostScript) fonts. If only the OpenType fonts are needed, please see the package fonts-texgyre.

See the description for fonts-texgyre package for more information.

There are three methods to install tex-gyre on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tex-gyre Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tex-gyre

Install tex-gyre Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tex-gyre

Install tex-gyre Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install tex-gyre

How To Uninstall tex-gyre on Kali Linux

To uninstall only the tex-gyre package we can use the following command:

sudo apt-get remove tex-gyre

Uninstall tex-gyre And Its Dependencies

To uninstall tex-gyre and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove tex-gyre

Remove tex-gyre Configurations and Data

To remove tex-gyre configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge tex-gyre

Remove tex-gyre configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tex-gyre

Dependencies

tex-gyre have the following dependencies:

References

Summary

In this tutorial we learn how to install tex-gyre package on Kali Linux using different package management tools: apt, apt-get and aptitude.