How To Install gf2x on Fedora 34

gf2x is Polynomial multiplication over the binary field Polynomial multiplication over the binary field

Introduction

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

What is gf2x

Gf2x is a C/C++ software package containing routines for fast arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching for irreducible/primitive trinomials. gf2x 1.3.0 4.fc34 x86_64 66 k gf2x-1.3.0-4.fc34.src.rpm fedora Polynomial multiplication over the binary field http GPLv2+ Gf2x is a C/C++ software package containing routines for fast arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching for irreducible/primitive trinomials.

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

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

sudo dnf -y install gf2x

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

sudo yum -y install gf2x

How To Uninstall gf2x on Fedora 34

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

sudo dnf remove gf2x

gf2x Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/4d9ae8351d73d86d683a0f1270d88446f2c0bb
/usr/lib/.build-id/83
/usr/lib/.build-id/83/092405b13f54cee26f395976ccdc5512de8c44
/usr/lib/libgf2x-fft.so.3
/usr/lib/libgf2x-fft.so.3.0.0
/usr/lib/libgf2x.so.3
/usr/lib/libgf2x.so.3.0.0
/usr/share/doc/gf2x
/usr/share/doc/gf2x/AUTHORS
/usr/share/doc/gf2x/BUGS
/usr/share/doc/gf2x/NEWS
/usr/share/doc/gf2x/README
/usr/share/doc/gf2x/TODO
/usr/share/licenses/gf2x
/usr/share/licenses/gf2x/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/a081ac3a9a96fb08ca5807160a06f9750c13bc
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/15dbe977ccace4838ecc4795ac70c547733bf9
/usr/lib64/libgf2x-fft.so.3
/usr/lib64/libgf2x-fft.so.3.0.0
/usr/lib64/libgf2x.so.3
/usr/lib64/libgf2x.so.3.0.0
/usr/share/doc/gf2x
/usr/share/doc/gf2x/AUTHORS
/usr/share/doc/gf2x/BUGS
/usr/share/doc/gf2x/NEWS
/usr/share/doc/gf2x/README
/usr/share/doc/gf2x/TODO
/usr/share/licenses/gf2x
/usr/share/licenses/gf2x/COPYING

References

Summary

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