How To Install libsecp256k1 on Fedora 34

libsecp256k1 is Optimized C library for EC operations on curve secp256k1 Optimized C library for EC operations on curve secp256k1

Introduction

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

What is libsecp256k1

Optimized C library for EC operations on curve secp256k1. Includes support for Schnorr signature. Uses the implementation maintained by Bitcoin-ABC. libsecp256k1 0.21.12 5.fc34 x86_64 115 k libsecp256k1-0.21.12-5.fc34.src.rpm fedora Optimized C library for EC operations on curve secp256k1 https MIT Optimized C library for EC operations on curve secp256k1. Includes support for Schnorr signature. Uses the implementation maintained by Bitcoin-ABC.

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

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

sudo dnf -y install libsecp256k1

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

sudo yum -y install libsecp256k1

How To Uninstall libsecp256k1 on Fedora 34

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

sudo dnf remove libsecp256k1

libsecp256k1 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/453152a8ee0f506edbdbc78f95e12410c8ba41
/usr/lib/libsecp256k1.so.0
/usr/lib/libsecp256k1.so.0.0.0
/usr/share/doc/libsecp256k1
/usr/share/doc/libsecp256k1/README.md
/usr/share/licenses/libsecp256k1
/usr/share/licenses/libsecp256k1/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/d794f151c3c89b245f3a4c26a779572b119147
/usr/lib64/libsecp256k1.so.0
/usr/lib64/libsecp256k1.so.0.0.0
/usr/share/doc/libsecp256k1
/usr/share/doc/libsecp256k1/README.md
/usr/share/licenses/libsecp256k1
/usr/share/licenses/libsecp256k1/COPYING

References

Summary

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