How To Install dejavu-fonts-common on CentOS 7

In this tutorial we learn how to install dejavu-fonts-common on CentOS 7. dejavu-fonts-common is Common files for the Dejavu font set

Introduction

In this tutorial we learn how to install dejavu-fonts-common on CentOS 7.

What is dejavu-fonts-common

The DejaVu font set is based on the “Bitstream Vera” fonts, release 1.10. Its purpose is to provide a wider range of characters, while maintaining the original style, using an open collaborative development process. This package consists of files used by other DejaVu packages.

We can use yum or dnf to install dejavu-fonts-common on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install dejavu-fonts-common.

Install dejavu-fonts-common on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install dejavu-fonts-common

Install dejavu-fonts-common on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install dejavu-fonts-common using dnf by running the following command:

sudo dnf -y install dejavu-fonts-common

How To Uninstall dejavu-fonts-common on CentOS 7

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

sudo dnf remove dejavu-fonts-common

References

Summary

In this tutorial we learn how to install dejavu-fonts-common on CentOS 7 using yum and dnf.