How To Install enchant2 on Rocky Linux 8

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

Introduction

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

What is enchant2

A library that wraps other spell checking backends.

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

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

sudo dnf -y install enchant2

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

sudo yum -y install enchant2

How To Uninstall enchant2 on Rocky Linux 8

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

sudo dnf remove enchant2

enchant2 Package Contents on Rocky Linux 8

/usr/bin/enchant-2
/usr/bin/enchant-lsmod-2
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/4a00c2beb3b4c1eb525c66d048250522773121
/usr/lib/.build-id/19
/usr/lib/.build-id/19/57437633a0cccbc040e1af3418c9f7567f1802
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/b2d1b3a955846f470380283d3f9585373d5968
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/919041f2014dfab54b8ceeeedb77928d9cfcdf
/usr/lib/enchant-2
/usr/lib/enchant-2/enchant_hunspell.so
/usr/lib/libenchant-2.so.2
/usr/lib/libenchant-2.so.2.2.3
/usr/share/doc/enchant2
/usr/share/doc/enchant2/AUTHORS
/usr/share/doc/enchant2/NEWS
/usr/share/doc/enchant2/README
/usr/share/enchant-2
/usr/share/enchant-2/enchant.ordering
/usr/share/licenses/enchant2
/usr/share/licenses/enchant2/COPYING.LIB
/usr/share/man/man1/enchant-2.1.gz
/usr/share/man/man1/enchant-lsmod-2.1.gz
/usr/bin/enchant-2
/usr/bin/enchant-lsmod-2
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/c8ffe269a59502a0fb9b88c2143e43296dba63
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/d92f40b65d36889121ba8d63e87de317bb25cb
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/0234b0c9bd5fcdd7d94b9323d8cfee5e498473
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/e5c8dd9016a50aae6341714e4bbb1b5de0ab08
/usr/lib64/enchant-2
/usr/lib64/enchant-2/enchant_hunspell.so
/usr/lib64/libenchant-2.so.2
/usr/lib64/libenchant-2.so.2.2.3
/usr/share/doc/enchant2
/usr/share/doc/enchant2/AUTHORS
/usr/share/doc/enchant2/NEWS
/usr/share/doc/enchant2/README
/usr/share/enchant-2
/usr/share/enchant-2/enchant.ordering
/usr/share/licenses/enchant2
/usr/share/licenses/enchant2/COPYING.LIB
/usr/share/man/man1/enchant-2.1.gz
/usr/share/man/man1/enchant-lsmod-2.1.gz

References

Summary

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