How To Install libthai on Fedora 34

libthai is Thai language support routines Thai language support routines

Introduction

In this tutorial we learn how to install libthai on Fedora 34.

What is libthai

LibThai is a set of Thai language support routines aimed to ease developers’ tasks to incorporate Thai language support in their applications. It includes important Thai-specific functions e.g. word breaking, input and output methods as well as basic character and string supports. libthai 0.1.28 6.fc34 x86_64 213 k libthai-0.1.28-6.fc34.src.rpm fedora Thai language support routines http LGPLv2+ LibThai is a set of Thai language support routines aimed to ease developers’ tasks to incorporate Thai language support in their applications. It includes important Thai-specific functions e.g. word breaking, input and output methods as well as basic character and string supports.

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

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

sudo dnf -y install libthai

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

sudo yum -y install libthai

How To Uninstall libthai on Fedora 34

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

sudo dnf remove libthai

libthai Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/fb92e663b61e3908455d589e2f66e6985a4ed0
/usr/lib/libthai.so.0
/usr/lib/libthai.so.0.3.1
/usr/share/doc/libthai
/usr/share/doc/libthai/AUTHORS
/usr/share/doc/libthai/COPYING
/usr/share/doc/libthai/ChangeLog
/usr/share/doc/libthai/README
/usr/share/libthai
/usr/share/libthai/thbrk.tri
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/6e473d3f5ec4cee8b259d13f311aaf582fdb0e
/usr/lib64/libthai.so.0
/usr/lib64/libthai.so.0.3.1
/usr/share/doc/libthai
/usr/share/doc/libthai/AUTHORS
/usr/share/doc/libthai/COPYING
/usr/share/doc/libthai/ChangeLog
/usr/share/doc/libthai/README
/usr/share/libthai
/usr/share/libthai/thbrk.tri

References

Summary

In this tutorial we learn how to install libthai on Fedora 34 using yum and dnf.