How To Install oniguruma-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install oniguruma-devel.x86_64 in Amazon Linux 2. oniguruma-devel.x86_64 is Development files for oniguruma

Introduction

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

What is oniguruma-devel.x86_64

The oniguruma-devel package contains libraries and header files for developing applications that use oniguruma.

We can use yum to install oniguruma-devel.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-devel.x86_64.

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

sudo yum -y install oniguruma-devel.x86_64

How To Uninstall oniguruma-devel.x86_64 on Amazon Linux 2

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

sudo yum remove oniguruma-devel.x86_64

oniguruma-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/onig-config
/usr/include/oniggnu.h
/usr/include/onigposix.h
/usr/include/oniguruma.h
/usr/lib64/libonig.so
/usr/lib64/pkgconfig/oniguruma.pc
/usr/share/doc/oniguruma-devel-5.9.6
/usr/share/doc/oniguruma-devel-5.9.6/API
/usr/share/doc/oniguruma-devel-5.9.6/API.ja
/usr/share/doc/oniguruma-devel-5.9.6/FAQ
/usr/share/doc/oniguruma-devel-5.9.6/FAQ.ja
/usr/share/doc/oniguruma-devel-5.9.6/RE
/usr/share/doc/oniguruma-devel-5.9.6/RE.ja

References

Summary

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