How To Install enchant2-devel on Rocky Linux 8

In this tutorial we learn how to install enchant2-devel on Rocky Linux 8. enchant2-devel is Development files for enchant2

Introduction

In this tutorial we learn how to install enchant2-devel on Rocky Linux 8.

What is enchant2-devel

The enchant2-devel package contains libraries and header files for developing applications that use enchant2.

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

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

sudo dnf -y install enchant2-devel

Install enchant2-devel 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 enchant2-devel using yum by running the following command:

sudo yum -y install enchant2-devel

How To Uninstall enchant2-devel on Rocky Linux 8

To uninstall only the enchant2-devel package we can use the following command:

sudo dnf remove enchant2-devel

enchant2-devel Package Contents on Rocky Linux 8

/usr/include/enchant-2
/usr/include/enchant-2/enchant++.h
/usr/include/enchant-2/enchant-provider.h
/usr/include/enchant-2/enchant.h
/usr/lib/libenchant-2.so
/usr/lib/pkgconfig/enchant-2.pc
/usr/include/enchant-2
/usr/include/enchant-2/enchant++.h
/usr/include/enchant-2/enchant-provider.h
/usr/include/enchant-2/enchant.h
/usr/lib64/libenchant-2.so
/usr/lib64/pkgconfig/enchant-2.pc

References

Summary

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