How To Install liboil-devel on CentOS 7

In this tutorial we learn how to install liboil-devel on CentOS 7. liboil-devel is Development files and static library for liboil

Introduction

In this tutorial we learn how to install liboil-devel on CentOS 7.

What is liboil-devel

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.). 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 or dnf to install liboil-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install liboil-devel.

Install liboil-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install liboil-devel using yum by running the following command:

sudo yum -y install liboil-devel

Install liboil-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install liboil-devel using dnf by running the following command:

sudo dnf -y install liboil-devel

How To Uninstall liboil-devel on CentOS 7

To uninstall only the liboil-devel package we can use the following command:

sudo dnf remove liboil-devel

References

Summary

In this tutorial we learn how to install liboil-devel on CentOS 7 using yum and dnf.