How To Install kbd-misc on CentOS 7

In this tutorial we learn how to install kbd-misc on CentOS 7. kbd-misc is Data for kbd package

Introduction

In this tutorial we learn how to install kbd-misc on CentOS 7.

What is kbd-misc

The kbd-misc package contains data for kbd package - console fonts, keymaps etc. Please note that kbd-misc is not helpful without kbd.

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

Install kbd-misc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install kbd-misc

Install kbd-misc 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 kbd-misc using dnf by running the following command:

sudo dnf -y install kbd-misc

How To Uninstall kbd-misc on CentOS 7

To uninstall only the kbd-misc package we can use the following command:

sudo dnf remove kbd-misc

References

Summary

In this tutorial we learn how to install kbd-misc on CentOS 7 using yum and dnf.