How To Install fonts-lyx on Debian 11

In this tutorial we learn how to install fonts-lyx on Debian 11. fonts-lyx is TrueType versions of some TeX fonts used by LyX

Introduction

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

What is fonts-lyx

fonts-lyx is:

These fonts are needed for the visual math symbol display in LyX. They can also be used to display MathML in Gecko-based browsers like Firefox.

The following fonts are included in this package:

  • cmex10 - Computer Modern math extension
  • cmmi10 - Computer Modern math italic
  • cmr10 - Computer Modern Roman
  • cmsy10 - Computer Modern math symbols
  • esint10 - Alternate integrals
  • eufm10 - Euler Fraktur (medium-weight)
  • msam10 - Extra math symbols, first series
  • msbm10 - Extra math symbols, second series, including Blackboard Bold
  • wasy10 - Waldi symbol fonts

There are three methods to install fonts-lyx 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-lyx 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-lyx using apt-get by running the following command:

sudo apt-get -y install fonts-lyx

Install fonts-lyx Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-lyx

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

sudo aptitude -y install fonts-lyx

How To Uninstall fonts-lyx on Debian 11

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

sudo apt-get remove fonts-lyx

Uninstall fonts-lyx And Its Dependencies

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

sudo apt-get -y autoremove fonts-lyx

Remove fonts-lyx Configurations and Data

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

sudo apt-get -y purge fonts-lyx

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

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

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

Dependencies

fonts-lyx have the following dependencies:

References

Summary

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