How To Install libnghttp2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libnghttp2.x86_64 in Amazon Linux 2. libnghttp2.x86_64 is A library implementing the HTTP/2 protocol

Introduction

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

What is libnghttp2.x86_64

libnghttp2 is a library implementing the Hypertext Transfer Protocol version 2 (HTTP/2) protocol in C.

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

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

sudo yum -y install libnghttp2.x86_64

How To Uninstall libnghttp2.x86_64 on Amazon Linux 2

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

sudo yum remove libnghttp2.x86_64

libnghttp2.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libnghttp2.so.14
/usr/lib64/libnghttp2.so.14.20.0
/usr/share/licenses/libnghttp2-1.41.0
/usr/share/licenses/libnghttp2-1.41.0/COPYING

References

Summary

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