How To Install liboil.x86_64 on Amazon Linux 2

In this tutorial we learn how to install liboil.x86_64 in Amazon Linux 2. liboil.x86_64 is Library of Optimized Inner Loops, CPU optimized functions

Introduction

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

What is liboil.x86_64

Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as converting an array of N integers to floating-poing numbers or multiplying and summing an array of N numbers. Clearly such functions are candidates for significant optimization using various techniques, especially by using extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).

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

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

sudo yum -y install liboil.x86_64

How To Uninstall liboil.x86_64 on Amazon Linux 2

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

sudo yum remove liboil.x86_64

liboil.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liboil-0.3.so.0
/usr/lib64/liboil-0.3.so.0.3.0
/usr/share/doc/liboil-0.3.16
/usr/share/doc/liboil-0.3.16/AUTHORS
/usr/share/doc/liboil-0.3.16/BUG-REPORTING
/usr/share/doc/liboil-0.3.16/COPYING
/usr/share/doc/liboil-0.3.16/NEWS
/usr/share/doc/liboil-0.3.16/README

References

Summary

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