How To Install fast_float-devel on AlmaLinux 8

In this tutorial we learn how to install fast_float-devel in AlmaLinux 8. fast_float-devel is Fast & exact implementation of C++ from_chars for float/double

Introduction

In this tutorial we learn how to install fast_float-devel on AlmaLinux 8.

What is fast_float-devel

The fast_float library provides fast header-only implementations for the C++ from_chars functions for float and double types. These functions convert ASCII strings representing decimal values (e.g., 1.3e10) into binary types. We provide exact rounding (including round to even). In our experience, these fast_float functions many times faster than comparable number-parsing functions from existing C++ standard libraries.

We can use yum or dnf to install fast_float-devel on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fast_float-devel.

Install fast_float-devel on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install fast_float-devel

Install fast_float-devel on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fast_float-devel

How To Uninstall fast_float-devel on AlmaLinux 8

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

sudo dnf remove fast_float-devel

References

Summary

In this tutorial we learn how to install fast_float-devel on AlmaLinux 8 using yum and dnf.