How To Install openlibm on Fedora 34

openlibm is High quality system independent, open source libm High quality system independent, open source libm

Introduction

In this tutorial we learn how to install openlibm on Fedora 34.

What is openlibm

OpenLIBM is an effort to have a high quality standalone LIBM library. It is meant to be used standalone in applications and programming language implementations. The OpenLIBM code derives from the FreeBSD msun implementation, which in turn derives from FDLIBM 5.3. As a result, it has a number of fixes and updates that have accumulated over the years in msun, and also optimized assembly versions of many functions. openlibm 0.5.3 12.fc34 x86_64 106 k openlibm-0.5.3-12.fc34.src.rpm fedora High quality system independent, open source libm https BSD and MIT and ISC and Public Domain OpenLIBM is an effort to have a high quality standalone LIBM library. It is meant to be used standalone in applications and programming language implementations. The OpenLIBM code derives from the FreeBSD msun implementation, which in turn derives from FDLIBM 5.3. As a result, it has a number of fixes and updates that have accumulated over the years in msun, and also optimized assembly versions of many functions.

We can use yum or dnf to install openlibm on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install openlibm.

Install openlibm 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 openlibm using dnf by running the following command:

sudo dnf -y install openlibm

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

sudo yum -y install openlibm

How To Uninstall openlibm on Fedora 34

To uninstall only the openlibm package we can use the following command:

sudo dnf remove openlibm

openlibm Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/3d352b524e0d465e7285e9f462be6f15da1150
/usr/lib64/libopenlibm.so.2
/usr/lib64/libopenlibm.so.2.3
/usr/share/doc/openlibm
/usr/share/doc/openlibm/LICENSE.md
/usr/share/doc/openlibm/README.md
/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/198549c04af45f67338862ec3612f14dd89fef
/usr/lib/libopenlibm.so.2
/usr/lib/libopenlibm.so.2.3
/usr/share/doc/openlibm
/usr/share/doc/openlibm/LICENSE.md
/usr/share/doc/openlibm/README.md

References

Summary

In this tutorial we learn how to install openlibm on Fedora 34 using yum and dnf.