How To Install symfpu on Fedora 34

symfpu is An implementation of IEEE-754 / SMT-LIB floating-point An implementation of IEEE-754 / SMT-LIB floating-point

Introduction

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

What is symfpu

SymFPU is an implementation of the SMT-LIB / IEEE-754 operations in terms of bit-vector operations. It is templated in terms of the bit-vectors, propositions, floating-point formats and rounding mode types used. This allow the same code to be executed as an arbitrary precision “SoftFloat” library (although it’s performance would not be good) or to be used to build symbolic representation of floating-point operations suitable for use in “bit-blasting” SMT solvers (you could also generate circuits from them but again, performance will likely not be good). symfpu 0 0.8.20190517gitc3acaf6.fc34 x86_64 27 k symfpu-0-0.8.20190517gitc3acaf6.fc34.src.rpm fedora An implementation of IEEE-754 / SMT-LIB floating-point https GPLv3+ SymFPU is an implementation of the SMT-LIB / IEEE-754 operations in terms of bit-vector operations. It is templated in terms of the bit-vectors, propositions, floating-point formats and rounding mode types used. This allow the same code to be executed as an arbitrary precision “SoftFloat” library (although it’s performance would not be good) or to be used to build symbolic representation of floating-point operations suitable for use in “bit-blasting” SMT solvers (you could also generate circuits from them but again, performance will likely not be good).

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

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

sudo dnf -y install symfpu

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

sudo yum -y install symfpu

How To Uninstall symfpu on Fedora 34

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

sudo dnf remove symfpu

symfpu Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/e372a6f8d25d975063a8196471d935553558a4
/usr/lib64/libsymfpu.so.0
/usr/lib64/libsymfpu.so.0.0.0
/usr/share/doc/symfpu
/usr/share/doc/symfpu/README.md
/usr/share/licenses/symfpu
/usr/share/licenses/symfpu/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/b22dd13ca0d8fc543f18972353e9a65f693b3c
/usr/lib/libsymfpu.so.0
/usr/lib/libsymfpu.so.0.0.0
/usr/share/doc/symfpu
/usr/share/doc/symfpu/README.md
/usr/share/licenses/symfpu
/usr/share/licenses/symfpu/LICENSE

References

Summary

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