How To Install libsecp256k1 on Fedora 36

In this tutorial we learn how to install libsecp256k1 in Fedora 36. libsecp256k1 is Optimized C library for EC operations on curve secp256k1

Introduction

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

What is libsecp256k1

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 36. In this tutorial we discuss both methods but you only need to choose one of method to install libsecp256k1.

Install libsecp256k1 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsecp256k1

Install libsecp256k1 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove libsecp256k1

libsecp256k1 Package Contents on Fedora 36

---
title: "How To Install libsecp256k1 on Fedora 36"
linkTitle: "libsecp256k1"
type: "docs"
description: "In this tutorial we learn how to install libsecp256k1 in Fedora 36. libsecp256k1 is Optimized C library for EC operations on curve secp256k1"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libsecp256k1-featured.png
---

## Introduction

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

### What is `libsecp256k1`

> 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 36. In this tutorial we discuss both methods but you only need to choose one of method to install libsecp256k1.

## Install libsecp256k1 on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install libsecp256k1

Install libsecp256k1 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove libsecp256k1

libsecp256k1 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/13bddad90088e37ea764eec7a1568d7853df57
/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

References

Summary

In this tutorial we learn how to install libsecp256k1 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/6a /usr/lib/.build-id/6a/9f1cbd3315c370b25e09006a5e8524c3c0f1f4 /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

* [libsecp256k1 website](https://github.com/Bitcoin-ABC/secp256k1)

## Summary

In this tutorial we learn how to install `libsecp256k1` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).