How To Install texlive-fonts-recommended on Ubuntu 20.04

In this tutorial we learn how to install texlive-fonts-recommended on Ubuntu 20.04. texlive-fonts-recommended is TeX Live

Introduction

In this tutorial we learn how to install texlive-fonts-recommended on Ubuntu 20.04.

texlive-fonts-recommended is:

Recommended fonts, including the base 35 PostScript fonts, Latin Modern, TeX Gyre, and T1 and other encoding support for Computer Modern, in outline form.

This package includes the following CTAN packages:

avantgar – URW “Base 35” font pack for LaTeX

bookman – URW “Base 35” font pack for LaTeX

charter – Charter fonts

cmextra – Knuth’s local information

courier – URW “Base 35” font pack for LaTeX

euro – Provide Euro values for national currency amounts

euro-ce – Euro and CE sign font

eurosym – Metafont and macros for Euro sign

fpl – SC and OsF fonts for URW Palladio L

helvetic – URW “Base 35” font pack for LaTeX

marvosym – Martin Vogel’s Symbols (marvosym) font

mathpazo – Fonts to typeset mathematics to match Palatino

manfnt-font – Knuth’s “manual” fonts

mflogo-font – Metafont logo font

ncntrsbk – URW “Base 35” font pack for LaTeX

palatino – URW “Base 35” font pack for LaTeX

pxfonts – Palatino-like fonts in support of mathematics

rsfs – Ralph Smith’s Formal Script font

symbol – URW “Base 35” font pack for LaTeX

times – URW “Base 35” font pack for LaTeX

txfonts – Times-like fonts in support of mathematics

utopia – Adobe Utopia fonts

wasy – The wasy fonts (Waldi symbol fonts)

wasy-type1 – Type 1 versions of wasy fonts

wasysym – LaTeX support file to use the wasy fonts

zapfchan – URW “Base 35” font pack for LaTeX

zapfding – URW “Base 35” font pack for LaTeX

There are three methods to install texlive-fonts-recommended on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

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

sudo apt-get update

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

sudo apt-get -y install texlive-fonts-recommended

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-fonts-recommended

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

sudo aptitude update

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

sudo aptitude -y install texlive-fonts-recommended

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

sudo apt-get remove texlive-fonts-recommended

To uninstall texlive-fonts-recommended and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove texlive-fonts-recommended

To remove texlive-fonts-recommended configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge texlive-fonts-recommended

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

sudo apt-get -y autoremove --purge texlive-fonts-recommended

References

Summary

In this tutorial we learn how to install texlive-fonts-recommended package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.