How To Install enchant on Rocky Linux 8

In this tutorial we learn how to install enchant on Rocky Linux 8. enchant is An Enchanting Spell Checking Library

Introduction

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

What is enchant

A library that wraps other spell checking backends.

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

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

sudo dnf -y install enchant

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

sudo yum -y install enchant

How To Uninstall enchant on Rocky Linux 8

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

sudo dnf remove enchant

enchant Package Contents on Rocky Linux 8

/usr/bin/enchant
/usr/bin/enchant-lsmod
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/aaddfd303f6e1d9c230f40749b7b5e530bdd84
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/30d5a958287e427f0b50adb3ae74e793c22821
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/7624bf27304cc036de73c511d80afd1e2cbe20
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/cdd424e6ec24bd16c433bab2050d46221b12ca
/usr/lib64/enchant
/usr/lib64/enchant/libenchant_myspell.so
/usr/lib64/libenchant.so.1
/usr/lib64/libenchant.so.1.6.0
/usr/share/doc/enchant
/usr/share/doc/enchant/AUTHORS
/usr/share/doc/enchant/COPYING.LIB
/usr/share/doc/enchant/README
/usr/share/enchant
/usr/share/enchant/enchant.ordering
/usr/share/man/man1/enchant-lsmod.1.gz
/usr/share/man/man1/enchant.1.gz
/usr/bin/enchant
/usr/bin/enchant-lsmod
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/e538338d826796bb3f0240f9a47f4c9ede84cb
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/b65bbcf5e72874f929ae650c991e2a5a1aa515
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/c99753f84ec26065533d8e35c14518309630ef
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/deeb7fa13799409471076cf0385e6087bf43d1
/usr/lib/enchant
/usr/lib/enchant/libenchant_myspell.so
/usr/lib/libenchant.so.1
/usr/lib/libenchant.so.1.6.0
/usr/share/doc/enchant
/usr/share/doc/enchant/AUTHORS
/usr/share/doc/enchant/COPYING.LIB
/usr/share/doc/enchant/README
/usr/share/enchant
/usr/share/enchant/enchant.ordering
/usr/share/man/man1/enchant-lsmod.1.gz
/usr/share/man/man1/enchant.1.gz

References

Summary

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