How To Install lmodern on Kali Linux
Introduction
In this tutorial we learn how to install lmodern on Kali Linux.
What is lmodern
lmodern is:
The Latin Modern fonts, also known as “lm fonts”, are a set of scalable fonts in PostScript Type 1 and OpenType formats. They are based on the PostScript Type 1 version of the Computer Modern fonts and contain many additional characters (mostly accented ones).
This package provides TeX support and Type1 (PostScript) fonts. If only the OpenType fonts are needed, please see the package fonts-lmodern.
See the description for fonts-lmodern package for more information.
There are three methods to install lmodern 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 lmodern Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install lmodern using apt-get by running the following command:
sudo apt-get -y install lmodernInstall lmodern Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install lmodern using apt by running the following command:
sudo apt -y install lmodernInstall lmodern 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 updateAfter updating apt database, We can install lmodern using aptitude by running the following command:
sudo aptitude -y install lmodernHow To Uninstall lmodern on Kali Linux
To uninstall only the lmodern package we can use the following command:
sudo apt-get remove lmodernUninstall lmodern And Its Dependencies
To uninstall lmodern and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove lmodernRemove lmodern Configurations and Data
To remove lmodern configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge lmodernRemove lmodern configuration, data, and all of its dependencies
We can use the following command to remove lmodern configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lmodernDependencies
lmodern have the following dependencies:
References
Summary
In this tutorial we learn how to install lmodern package on Kali Linux using different package management tools: apt, apt-get and aptitude.