How To Install powerline-fonts on Rocky Linux 8

In this tutorial we learn how to install powerline-fonts on Rocky Linux 8. powerline-fonts is Powerline Fonts

Introduction

In this tutorial we learn how to install powerline-fonts on Rocky Linux 8.

What is powerline-fonts

This package provides the powerline fonts.

We can use yum or dnf to install powerline-fonts on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install powerline-fonts.

Install powerline-fonts on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install powerline-fonts

Install powerline-fonts on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install powerline-fonts

How To Uninstall powerline-fonts on Rocky Linux 8

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

sudo dnf remove powerline-fonts

powerline-fonts Package Contents on Rocky Linux 8

/etc/fonts/conf.d/10-powerline-symbols.conf
/usr/share/doc/powerline-fonts
/usr/share/doc/powerline-fonts/LICENSE
/usr/share/doc/powerline-fonts/README.rst
/usr/share/fontconfig/conf.avail/10-powerline-symbols.conf
/usr/share/fonts/truetype
/usr/share/fonts/truetype/PowerlineSymbols.otf

References

Summary

In this tutorial we learn how to install powerline-fonts on Rocky Linux 8 using yum and dnf.