How To Install nspr.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nspr.x86_64 in Amazon Linux 2. nspr.x86_64 is Netscape Portable Runtime

Introduction

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

What is nspr.x86_64

NSPR provides platform independence for non-GUI operating system facilities. These facilities include threads, thread synchronization, normal file and network I/O, interval timing and calendar time, basic memory management (malloc and free) and shared library linking.

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

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

sudo yum -y install nspr.x86_64

How To Uninstall nspr.x86_64 on Amazon Linux 2

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

sudo yum remove nspr.x86_64

nspr.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libnspr4.so
/usr/lib64/libplc4.so
/usr/lib64/libplds4.so

References

Summary

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