How To Install sleef on Fedora 34
Introduction
In this tutorial we learn how to install sleef
on Fedora 34.
What is sleef
SLEEF stands for SIMD Library for Evaluating Elementary Functions. It implements vectorized versions of all C99 real floating point math functions. It can utilize SIMD instructions that are available on modern processors. SLEEF is designed to efficiently perform computation with SIMD instructions by reducing the use of conditional branches and scatter/gather memory access. The library contains implementations of all C99 real FP math functions in double precision and single precision. Different accuracy of the results can be chosen for a subset of the elementary functions; for this subset there are versions with up to 1 ULP error (which is the maximum error, not the average) and even faster versions with a few ULPs of error. For non-finite inputs and outputs, the functions return correct results as specified in the C99 standard. sleef 3.5.1 3.fc34 x86_64 852 k sleef-3.5.1-3.fc34.src.rpm fedora Vectorized math library https Boost SLEEF stands for SIMD Library for Evaluating Elementary Functions. It implements vectorized versions of all C99 real floating point math functions. It can utilize SIMD instructions that are available on modern processors. SLEEF is designed to efficiently perform computation with SIMD instructions by reducing the use of conditional branches and scatter/gather memory access. The library contains implementations of all C99 real FP math functions in double precision and single precision. Different accuracy of the results can be chosen for a subset of the elementary functions; for this subset there are versions with up to 1 ULP error (which is the maximum error, not the average) and even faster versions with a few ULPs of error. For non-finite inputs and outputs, the functions return correct results as specified in the C99 standard.
We can use yum
or dnf
to install sleef
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sleef.
Install sleef on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install sleef
using dnf
by running the following command:
sudo dnf -y install sleef
Install sleef on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install sleef
using yum
by running the following command:
sudo yum -y install sleef
How To Uninstall sleef on Fedora 34
To uninstall only the sleef
package we can use the following command:
sudo dnf remove sleef
sleef Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/037db7682b83325199dba595f62eb4cbaa4ac5
/usr/lib/libsleef.so.3
/usr/lib/libsleef.so.3.5.1
/usr/share/licenses/sleef
/usr/share/licenses/sleef/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/2d6b33569718da0a06ff410c532cbdd67cc0ee
/usr/lib64/libsleef.so.3
/usr/lib64/libsleef.so.3.5.1
/usr/share/licenses/sleef
/usr/share/licenses/sleef/LICENSE.txt
References
- [sleef website](https://sleef.org https://sleef.org)
Summary
In this tutorial we learn how to install sleef
on Fedora 34 using yum and dnf.