How To Install nettle.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nettle.x86_64 in Amazon Linux 2. nettle.x86_64 is A low-level cryptographic library

Introduction

In this tutorial we learn how to install nettle.x86_64 on Amazon Linux 2.

What is nettle.x86_64

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

We can use yum to install nettle.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install nettle.x86_64.

Install nettle.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nettle.x86_64 using yum by running the following command:

sudo yum -y install nettle.x86_64

How To Uninstall nettle.x86_64 on Amazon Linux 2

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

sudo yum remove nettle.x86_64

nettle.x86_64 Package Contents on Amazon Linux 2

/usr/bin/nettle-hash
/usr/bin/nettle-lfib-stream
/usr/bin/pkcs1-conv
/usr/bin/sexp-conv
/usr/lib64/.libhogweed.so.2.5.hmac
/usr/lib64/.libhogweed.so.2.hmac
/usr/lib64/.libnettle.so.4.7.hmac
/usr/lib64/.libnettle.so.4.hmac
/usr/lib64/libhogweed.so.2
/usr/lib64/libhogweed.so.2.5
/usr/lib64/libnettle.so.4
/usr/lib64/libnettle.so.4.7
/usr/share/doc/nettle-2.7.1
/usr/share/doc/nettle-2.7.1/AUTHORS
/usr/share/doc/nettle-2.7.1/COPYING.LIB
/usr/share/doc/nettle-2.7.1/ChangeLog
/usr/share/doc/nettle-2.7.1/NEWS
/usr/share/doc/nettle-2.7.1/README
/usr/share/doc/nettle-2.7.1/TODO
/usr/share/info/nettle.info.gz

References

Summary

In this tutorial we learn how to install nettle.x86_64 on Amazon Linux 2 using yum.