How To Install hunspell on Fedora 34
Introduction
In this tutorial we learn how to install hunspell
on Fedora 34.
What is hunspell
Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or character encoding. Hunspell interfaces Curses library, Ispell pipe interface, LibreOffice UNO module. hunspell 1.7.0 9.fc34 x86_64 330 k hunspell-1.7.0-9.fc34.src.rpm fedora A spell checker and morphological analyzer library https LGPLv2+ or GPLv2+ or MPLv1.1 Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or character encoding. Hunspell interfaces Curses library, Ispell pipe interface, LibreOffice UNO module.
We can use yum
or dnf
to install hunspell
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install hunspell.
Install hunspell on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install hunspell
using dnf
by running the following command:
sudo dnf -y install hunspell
Install hunspell on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install hunspell
using yum
by running the following command:
sudo yum -y install hunspell
How To Uninstall hunspell on Fedora 34
To uninstall only the hunspell
package we can use the following command:
sudo dnf remove hunspell
hunspell Package Contents on Fedora 34
/usr/bin/hunspell
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/03445d1b50f452843e15ae0de17f5064b7951a
/usr/lib/.build-id/92
/usr/lib/.build-id/92/5a3b65e36e06d46d61edb73e5a6684c51b92ec
/usr/lib64/libhunspell-1.7.so.0
/usr/lib64/libhunspell-1.7.so.0.0.1
/usr/share/doc/hunspell
/usr/share/doc/hunspell/AUTHORS
/usr/share/doc/hunspell/COPYING
/usr/share/doc/hunspell/COPYING.LESSER
/usr/share/doc/hunspell/COPYING.MPL
/usr/share/doc/hunspell/README
/usr/share/doc/hunspell/THANKS
/usr/share/doc/hunspell/license.hunspell
/usr/share/doc/hunspell/license.myspell
/usr/share/locale/ca/LC_MESSAGES/hunspell.mo
/usr/share/locale/de/LC_MESSAGES/hunspell.mo
/usr/share/locale/es/LC_MESSAGES/hunspell.mo
/usr/share/locale/hu/LC_MESSAGES/hunspell.mo
/usr/share/locale/it/LC_MESSAGES/hunspell.mo
/usr/share/locale/pl/LC_MESSAGES/hunspell.mo
/usr/share/locale/pt_BR/LC_MESSAGES/hunspell.mo
/usr/share/locale/tg/LC_MESSAGES/hunspell.mo
/usr/share/man/hu/man1/hunspell.1.gz
/usr/share/man/man1/hunspell.1.gz
/usr/bin/hunspell
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/1efcce77b05fb7fe7ca65a33286e471875f76f
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/629a147fe69117d6c20967c0ea341887c90065
/usr/lib/libhunspell-1.7.so.0
/usr/lib/libhunspell-1.7.so.0.0.1
/usr/share/doc/hunspell
/usr/share/doc/hunspell/AUTHORS
/usr/share/doc/hunspell/COPYING
/usr/share/doc/hunspell/COPYING.LESSER
/usr/share/doc/hunspell/COPYING.MPL
/usr/share/doc/hunspell/README
/usr/share/doc/hunspell/THANKS
/usr/share/doc/hunspell/license.hunspell
/usr/share/doc/hunspell/license.myspell
/usr/share/locale/ca/LC_MESSAGES/hunspell.mo
/usr/share/locale/de/LC_MESSAGES/hunspell.mo
/usr/share/locale/es/LC_MESSAGES/hunspell.mo
/usr/share/locale/hu/LC_MESSAGES/hunspell.mo
/usr/share/locale/it/LC_MESSAGES/hunspell.mo
/usr/share/locale/pl/LC_MESSAGES/hunspell.mo
/usr/share/locale/pt_BR/LC_MESSAGES/hunspell.mo
/usr/share/locale/tg/LC_MESSAGES/hunspell.mo
/usr/share/man/hu/man1/hunspell.1.gz
/usr/share/man/man1/hunspell.1.gz
References
- [hunspell website](https://github.com/hunspell/hunspell https://github.com/hunspell/hunspell)
Summary
In this tutorial we learn how to install hunspell
on Fedora 34 using yum and dnf.