How To Install libtasn1.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libtasn1.x86_64 in Amazon Linux 2. libtasn1.x86_64 is The ASN.1 library used in GNUTLS

Introduction

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

What is libtasn1.x86_64

A library that provides Abstract Syntax Notation One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and structures management, and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.

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

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

sudo yum -y install libtasn1.x86_64

How To Uninstall libtasn1.x86_64 on Amazon Linux 2

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

sudo yum remove libtasn1.x86_64

libtasn1.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libtasn1.so.6
/usr/lib64/libtasn1.so.6.5.3
/usr/share/doc/libtasn1-4.10
/usr/share/doc/libtasn1-4.10/AUTHORS
/usr/share/doc/libtasn1-4.10/COPYING
/usr/share/doc/libtasn1-4.10/COPYING.LIB
/usr/share/doc/libtasn1-4.10/NEWS
/usr/share/doc/libtasn1-4.10/README
/usr/share/doc/libtasn1-4.10/THANKS
/usr/share/doc/libtasn1-4.10/TODO
/usr/share/doc/libtasn1-4.10/libtasn1.pdf

References

Summary

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