How To Install oniguruma.x86_64 on Amazon Linux 2

In this tutorial we learn how to install oniguruma.x86_64 in Amazon Linux 2. oniguruma.x86_64 is Regular expressions library

Introduction

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

What is oniguruma.x86_64

Oniguruma is a regular expressions library. The characteristics of this library is that different character encoding for every regular expression object can be specified. (supported APIs

We can use yum to install oniguruma.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install oniguruma.x86_64.

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

sudo yum -y install oniguruma.x86_64

How To Uninstall oniguruma.x86_64 on Amazon Linux 2

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

sudo yum remove oniguruma.x86_64

oniguruma.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libonig.so.2
/usr/lib64/libonig.so.2.0.0
/usr/share/doc/oniguruma-5.9.6
/usr/share/doc/oniguruma-5.9.6/AUTHORS
/usr/share/doc/oniguruma-5.9.6/HISTORY
/usr/share/doc/oniguruma-5.9.6/README
/usr/share/doc/oniguruma-5.9.6/README.ja
/usr/share/doc/oniguruma-5.9.6/index.html
/usr/share/doc/oniguruma-5.9.6/index_ja.html
/usr/share/licenses/oniguruma-5.9.6
/usr/share/licenses/oniguruma-5.9.6/COPYING

References

Summary

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