How To Install libthai.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libthai.x86_64 in Amazon Linux 2. libthai.x86_64 is Thai language support routines

Introduction

In this tutorial we learn how to install libthai.x86_64 on Amazon Linux 2.

What is libthai.x86_64

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 to install libthai.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libthai.x86_64.

Install libthai.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libthai.x86_64 using yum by running the following command:

sudo yum -y install libthai.x86_64

How To Uninstall libthai.x86_64 on Amazon Linux 2

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

sudo yum remove libthai.x86_64

libthai.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libthai.so.0
/usr/lib64/libthai.so.0.1.6
/usr/share/doc/libthai-0.1.14
/usr/share/doc/libthai-0.1.14/AUTHORS
/usr/share/doc/libthai-0.1.14/COPYING
/usr/share/doc/libthai-0.1.14/ChangeLog
/usr/share/doc/libthai-0.1.14/README
/usr/share/doc/libthai-0.1.14/TODO
/usr/share/libthai
/usr/share/libthai/thbrk.tri

References

Summary

In this tutorial we learn how to install libthai.x86_64 on Amazon Linux 2 using yum.