How To Install enchant on CentOS 8

enchant is An Enchanting Spell Checking Library An Enchanting Spell Checking Library

Introduction

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

What is enchant

A library that wraps other spell checking backends. enchant 1 1.6.0 21.el8 x86_64 66 k enchant-1.6.0-21.el8.src.rpm appstream An Enchanting Spell Checking Library http LGPLv2+ A library that wraps other spell checking backends.

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

Install enchant on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install enchant using dnf by running the following command:

sudo dnf -y install enchant

Install enchant on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove enchant

enchant Package Contents on CentOS 8

/usr/bin/enchant
/usr/bin/enchant-lsmod
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/f3ed78d30772abac1b3bae125ef47ebe79281d
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/3cbdda1ee2d37c81dc4056606db53266b023c6
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/bca23e404fd3e3462de3530e803a1eb3d6babb
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/acaee472ccc2ab0f935ee1ff93bfc9c76c04f5
/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
/usr/bin/enchant
/usr/bin/enchant-lsmod
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/c39049efdc00ad57b7544282814de65b23c22e
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/06574cff5d91eae05cd660d7e776f8d16503f7
/usr/lib/.build-id/76
/usr/lib/.build-id/76/8c8143900019af78b4ca54f45e0170b3e3a49c
/usr/lib/.build-id/94
/usr/lib/.build-id/94/9973f6a865dadddcefb6d6798f531302b87175
/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

References

Summary

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