How To Install fonts-texgyre-math on Debian 12
Introduction
In this tutorial we learn how to install fonts-texgyre-math
on Debian 12.
What is fonts-texgyre-math
fonts-texgyre-math 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 math fonts accompanying the following text fonts available in fonts-texgyre:
The TeX Gyre Bonum family of fonts is based on the URW Bookman L family (designed by Alexander Phemister).
The TeX Gyre DejaVu Math font is a math companion to the fine and popular DejaVu text fonts.
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).
There are three methods to install fonts-texgyre-math
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 fonts-texgyre-math 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-math
using apt-get
by running the following command:
sudo apt-get -y install fonts-texgyre-math
Install fonts-texgyre-math Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fonts-texgyre-math
using apt
by running the following command:
sudo apt -y install fonts-texgyre-math
Install fonts-texgyre-math 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-math
using aptitude
by running the following command:
sudo aptitude -y install fonts-texgyre-math
How To Uninstall fonts-texgyre-math on Debian 12
To uninstall only the fonts-texgyre-math
package we can use the following command:
sudo apt-get remove fonts-texgyre-math
Uninstall fonts-texgyre-math And Its Dependencies
To uninstall fonts-texgyre-math
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove fonts-texgyre-math
Remove fonts-texgyre-math Configurations and Data
To remove fonts-texgyre-math
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge fonts-texgyre-math
Remove fonts-texgyre-math configuration, data, and all of its dependencies
We can use the following command to remove fonts-texgyre-math
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fonts-texgyre-math
Dependencies
fonts-texgyre-math have the following dependencies:
References
Summary
In this tutorial we learn how to install fonts-texgyre-math
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.