How To Install fonts-dejavu-core on Ubuntu 18.04

In this tutorial we learn how to install fonts-dejavu-core on Ubuntu 18.04. fonts-dejavu-core is Vera font family derivate with additional characters

Introduction

In this tutorial we learn how to install fonts-dejavu-core on Ubuntu 18.04.

What is fonts-dejavu-core

fonts-dejavu-core is:

DejaVu provides an expanded version of the Vera font family aiming for quality and broader Unicode coverage while retaining the original Vera style. DejaVu currently works towards conformance with the Multilingual European Standards (MES-1 and MES-2) for Unicode coverage. The DejaVu fonts provide serif, sans and monospaced variants.

This package only contains the sans, sans-bold, serif, serif-bold, mono and mono-bold variants. For additional variants, see the ttf-dejavu-extra package.

DejaVu fonts are intended for use on low-resolution devices (mainly computer screens) but can be used in printing as well.

There are three methods to install fonts-dejavu-core on Ubuntu 18.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-dejavu-core 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-dejavu-core using apt-get by running the following command:

sudo apt-get -y install fonts-dejavu-core

Install fonts-dejavu-core Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-dejavu-core

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

sudo aptitude -y install fonts-dejavu-core

How To Uninstall fonts-dejavu-core on Ubuntu 18.04

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

sudo apt-get remove fonts-dejavu-core

Uninstall fonts-dejavu-core And Its Dependencies

To uninstall fonts-dejavu-core and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove fonts-dejavu-core

Remove fonts-dejavu-core Configurations and Data

To remove fonts-dejavu-core configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge fonts-dejavu-core

Remove fonts-dejavu-core configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fonts-dejavu-core

References

Summary

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