How To Install nettle on Fedora 36

In this tutorial we learn how to install nettle in Fedora 36. nettle is A low-level cryptographic library

Introduction

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

What is nettle

Nettle is a cryptographic library that is designed to fit easily in more or less any context (C++, Python, Pike, …), in applications like LSH or GNUPG, or even in kernel space.

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

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

sudo dnf -y install nettle

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

sudo yum -y install nettle

How To Uninstall nettle on Fedora 36

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

sudo dnf remove nettle

nettle Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/d6c3bccb1f5551029f27296cdeb664603be2bf
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/3385dd7b53a09eef555479b1686df39a0f5581
/usr/lib64/.libhogweed.so.6.4.hmac
/usr/lib64/.libhogweed.so.6.hmac
/usr/lib64/.libnettle.so.8.4.hmac
/usr/lib64/.libnettle.so.8.hmac
/usr/lib64/libhogweed.so.6
/usr/lib64/libhogweed.so.6.4
/usr/lib64/libnettle.so.8
/usr/lib64/libnettle.so.8.4
/usr/share/doc/nettle
/usr/share/doc/nettle/AUTHORS
/usr/share/doc/nettle/NEWS
/usr/share/doc/nettle/README
/usr/share/info/nettle.info.gz
/usr/share/licenses/nettle
/usr/share/licenses/nettle/COPYING.LESSERv3
/usr/share/licenses/nettle/COPYINGv2

References

Summary

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