How To Install liboil.i686 on Amazon Linux 2

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

Introduction

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

What is liboil.i686

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

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

sudo yum -y install liboil.i686

How To Uninstall liboil.i686 on Amazon Linux 2

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

sudo yum remove liboil.i686

liboil.i686 Package Contents on Amazon Linux 2

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