How To Install fonts-alegreya-sans on Ubuntu 20.04

In this tutorial we learn how to install fonts-alegreya-sans on Ubuntu 20.04. fonts-alegreya-sans is Humanist Sans Serif family, part of Alegreya fonts

Introduction

In this tutorial we learn how to install fonts-alegreya-sans on Ubuntu 20.04.

What is fonts-alegreya-sans

fonts-alegreya-sans is:

Alegreya Sans is a humanist sans serif family with a calligraphic feeling that conveys a dynamic and varied rhythm. This gives a pleasant feeling to readers of long texts.

The family follows humanist proportions and principles, just like the serif version of the family, Alegreya. It achieves a ludic and harmonious paragraph through elements carefully designed in an atmosphere of diversity. The italics bring a strong emphasis to the roman styles, and each have seven weights to bring you a wide typographic palette.

There are three methods to install fonts-alegreya-sans 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.

Install fonts-alegreya-sans 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-alegreya-sans using apt-get by running the following command:

sudo apt-get -y install fonts-alegreya-sans

Install fonts-alegreya-sans Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-alegreya-sans

Install fonts-alegreya-sans 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install fonts-alegreya-sans

How To Uninstall fonts-alegreya-sans on Ubuntu 20.04

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

sudo apt-get remove fonts-alegreya-sans

Uninstall fonts-alegreya-sans And Its Dependencies

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

sudo apt-get -y autoremove fonts-alegreya-sans

Remove fonts-alegreya-sans Configurations and Data

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

sudo apt-get -y purge fonts-alegreya-sans

Remove fonts-alegreya-sans configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fonts-alegreya-sans

References

Summary

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