How To Install oniguruma.i686 on Amazon Linux 2

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

Introduction

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

What is oniguruma.i686

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

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

sudo yum -y install oniguruma.i686

How To Uninstall oniguruma.i686 on Amazon Linux 2

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

sudo yum remove oniguruma.i686

oniguruma.i686 Package Contents on Amazon Linux 2

/usr/lib/libonig.so.2
/usr/lib/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.i686 on Amazon Linux 2 using yum.