How To Install hspell on CentOS 8

hspell is A Hebrew spell checker A Hebrew spell checker

Introduction

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

What is hspell

Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly spell-like interface (gives the list of wrong words in the input text), but can also suggest corrections (-c). It also provides a true morphological analyzer (-l), that prints all known meanings of a Hebrew string. Hspell 1.4 still follows the old (pre June 2017) spelling standard of the Academy of the Hebrew Language. hspell 1.4 6.el8 x86_64 691 k hspell-1.4-6.el8.src.rpm appstream A Hebrew spell checker http AGPLv3 Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly spell-like interface (gives the list of wrong words in the input text), but can also suggest corrections (-c). It also provides a true morphological analyzer (-l), that prints all known meanings of a Hebrew string. Hspell 1.4 still follows the old (pre June 2017) spelling standard of the Academy of the Hebrew Language.

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

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

sudo dnf -y install hspell

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

sudo yum -y install hspell

How To Uninstall hspell on CentOS 8

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

sudo dnf remove hspell

hspell Package Contents on CentOS 8

/usr/bin/hspell
/usr/bin/hspell-i
/usr/bin/multispell
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/34972fc88c8df2e0d0b33737db63253f4ba21a
/usr/lib/.build-id/78
/usr/lib/.build-id/78/1c5a3b95a971eb3bd9e8f4c51e0453d29eaf2c
/usr/lib/libhspell.so.0
/usr/share/doc/hspell
/usr/share/doc/hspell/COPYING
/usr/share/doc/hspell/LICENSE
/usr/share/doc/hspell/README
/usr/share/doc/hspell/WHATSNEW
/usr/share/hspell
/usr/share/hspell/hebrew.wgz
/usr/share/hspell/hebrew.wgz.desc
/usr/share/hspell/hebrew.wgz.hints
/usr/share/hspell/hebrew.wgz.prefixes
/usr/share/hspell/hebrew.wgz.sizes
/usr/share/hspell/hebrew.wgz.stems
/usr/share/man/man1/hspell.1.gz
/usr/bin/hspell
/usr/bin/hspell-i
/usr/bin/multispell
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/cc8cfd605fcce773eda091a5d8fcbc545d9cac
/usr/lib/.build-id/82
/usr/lib/.build-id/82/d9ea4e507ce9e3cf6e8c50f2dc48d6c073a935
/usr/lib64/libhspell.so.0
/usr/share/doc/hspell
/usr/share/doc/hspell/COPYING
/usr/share/doc/hspell/LICENSE
/usr/share/doc/hspell/README
/usr/share/doc/hspell/WHATSNEW
/usr/share/hspell
/usr/share/hspell/hebrew.wgz
/usr/share/hspell/hebrew.wgz.desc
/usr/share/hspell/hebrew.wgz.hints
/usr/share/hspell/hebrew.wgz.prefixes
/usr/share/hspell/hebrew.wgz.sizes
/usr/share/hspell/hebrew.wgz.stems
/usr/share/man/man1/hspell.1.gz

References

Summary

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