How To Install liboil on CentOS 7
Introduction
In this tutorial we learn how to install liboil
on CentOS 7.
What is liboil
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
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install liboil.
Install liboil on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install liboil
using yum
by running the following command:
Install liboil 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.
After updating yum database, We can install liboil
using dnf
by running the following command:
How To Uninstall liboil on CentOS 7
To uninstall only the liboil
package we can use the following command:
References
Summary
In this tutorial we learn how to install liboil
on CentOS 7 using yum
and dnf
.