How To Install nettle-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nettle-devel.x86_64 in Amazon Linux 2. nettle-devel.x86_64 is Development headers for a low-level cryptographic library

Introduction

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

What is nettle-devel.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. This package contains the files needed for developing applications with nettle.

We can use yum to install nettle-devel.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-devel.x86_64.

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

sudo yum -y install nettle-devel.x86_64

How To Uninstall nettle-devel.x86_64 on Amazon Linux 2

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

sudo yum remove nettle-devel.x86_64

nettle-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/nettle
/usr/include/nettle/aes.h
/usr/include/nettle/arcfour.h
/usr/include/nettle/arctwo.h
/usr/include/nettle/asn1.h
/usr/include/nettle/base16.h
/usr/include/nettle/base64.h
/usr/include/nettle/bignum.h
/usr/include/nettle/blowfish.h
/usr/include/nettle/buffer.h
/usr/include/nettle/camellia.h
/usr/include/nettle/cast128.h
/usr/include/nettle/cbc.h
/usr/include/nettle/ctr.h
/usr/include/nettle/des-compat.h
/usr/include/nettle/des.h
/usr/include/nettle/dsa.h
/usr/include/nettle/ecc-curve.h
/usr/include/nettle/ecc.h
/usr/include/nettle/ecdsa.h
/usr/include/nettle/gcm.h
/usr/include/nettle/gosthash94.h
/usr/include/nettle/hmac.h
/usr/include/nettle/knuth-lfib.h
/usr/include/nettle/macros.h
/usr/include/nettle/md2.h
/usr/include/nettle/md4.h
/usr/include/nettle/md5-compat.h
/usr/include/nettle/md5.h
/usr/include/nettle/memxor.h
/usr/include/nettle/nettle-meta.h
/usr/include/nettle/nettle-stdint.h
/usr/include/nettle/nettle-types.h
/usr/include/nettle/pbkdf2.h
/usr/include/nettle/pgp.h
/usr/include/nettle/pkcs1.h
/usr/include/nettle/realloc.h
/usr/include/nettle/ripemd160.h
/usr/include/nettle/rsa-compat.h
/usr/include/nettle/rsa.h
/usr/include/nettle/salsa20.h
/usr/include/nettle/serpent.h
/usr/include/nettle/sexp.h
/usr/include/nettle/sha.h
/usr/include/nettle/sha1.h
/usr/include/nettle/sha2.h
/usr/include/nettle/sha3.h
/usr/include/nettle/twofish.h
/usr/include/nettle/umac.h
/usr/include/nettle/yarrow.h
/usr/lib64/libhogweed.so
/usr/lib64/libnettle.so
/usr/lib64/pkgconfig/hogweed.pc
/usr/lib64/pkgconfig/nettle.pc
/usr/share/doc/nettle-devel-2.7.1
/usr/share/doc/nettle-devel-2.7.1/COPYING.LIB
/usr/share/doc/nettle-devel-2.7.1/descore.README
/usr/share/doc/nettle-devel-2.7.1/nettle.html
/usr/share/doc/nettle-devel-2.7.1/nettle.pdf

References

Summary

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