How To Install enchant2 on CentOS 8

enchant2 is An Enchanting Spell Checking Library An Enchanting Spell Checking Library

Introduction

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

What is enchant2

A library that wraps other spell checking backends. enchant2 2.2.3 3.el8 x86_64 62 k enchant2-2.2.3-3.el8.src.rpm appstream An Enchanting Spell Checking Library https LGPLv2+ A library that wraps other spell checking backends.

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

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

sudo dnf -y install enchant2

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

sudo yum -y install enchant2

How To Uninstall enchant2 on CentOS 8

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

sudo dnf remove enchant2

enchant2 Package Contents on CentOS 8

/usr/bin/enchant-2
/usr/bin/enchant-lsmod-2
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/c016f2b9ec302ddf872c47d224c5da0baef0ef
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/bf8bd1a96f715db1f79e47f209d5ac93677e02
/usr/lib/.build-id/78
/usr/lib/.build-id/78/050b303571c5c2a1aa062a57d4cf13e7aff542
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/6b997335b012375568af32962b5c873e1090ca
/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
/usr/bin/enchant-2
/usr/bin/enchant-lsmod-2
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/53abc3b4e8e3b96ddc478c65e1b577b7966b74
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/8ef85767feae97055f888c6b99408ad8b0b0e0
/usr/lib/.build-id/58
/usr/lib/.build-id/58/94be55d1f0636fc439528004e8540490c30fa1
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/2469addbe2c56482b5f17616b0f961a73db2e7
/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

References

Summary

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