How To Install fast_float-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install fast_float-devel
on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the fast_float-devel
package we can use the following command:
sudo dnf remove fast_float-devel
fast_float-devel Package Contents on Rocky Linux 8
/usr/include/fast_float
/usr/include/fast_float/ascii_number.h
/usr/include/fast_float/decimal_to_binary.h
/usr/include/fast_float/fast_float.h
/usr/include/fast_float/fast_table.h
/usr/include/fast_float/float_common.h
/usr/include/fast_float/parse_number.h
/usr/include/fast_float/simple_decimal_conversion.h
/usr/lib64/cmake/fast_float
/usr/lib64/cmake/fast_float/FastFloatConfig.cmake
/usr/lib64/cmake/fast_float/FastFloatConfigVersion.cmake
/usr/lib64/cmake/fast_float/fast_float-targets.cmake
/usr/share/FastFloat
/usr/share/FastFloat/FastFloatConfig.cmake
/usr/share/FastFloat/FastFloatConfigVersion.cmake
/usr/share/FastFloat/fast_float-targets.cmake
/usr/share/doc/fast_float-devel
/usr/share/doc/fast_float-devel/AUTHORS
/usr/share/doc/fast_float-devel/CONTRIBUTORS
/usr/share/doc/fast_float-devel/README.md
/usr/share/licenses/fast_float-devel
/usr/share/licenses/fast_float-devel/LICENSE-APACHE
/usr/share/licenses/fast_float-devel/LICENSE-MIT
References
Summary
In this tutorial we learn how to install fast_float-devel
on Rocky Linux 8 using yum and dnf.