How To Install enchant-devel on Rocky Linux 8

In this tutorial we learn how to install enchant-devel on Rocky Linux 8. enchant-devel is Support files necessary to compile applications with libenchant.

Introduction

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

What is enchant-devel

Libraries, headers, and support files necessary to compile applications using libenchant.

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

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

sudo dnf -y install enchant-devel

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

sudo yum -y install enchant-devel

How To Uninstall enchant-devel on Rocky Linux 8

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

sudo dnf remove enchant-devel

enchant-devel Package Contents on Rocky Linux 8

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

References

Summary

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