How To Install liboauth.x86_64 on Amazon Linux 2

In this tutorial we learn how to install liboauth.x86_64 in Amazon Linux 2. liboauth.x86_64 is OAuth library functions

Introduction

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

What is liboauth.x86_64

liboauth is a collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard. liboauth provides functions to escape and encode parameters according to OAuth specification and offers high-level functionality to sign requests or verify OAuth signatures as well as perform HTTP requests.

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

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

sudo yum -y install liboauth.x86_64

How To Uninstall liboauth.x86_64 on Amazon Linux 2

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

sudo yum remove liboauth.x86_64

liboauth.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liboauth.so.0
/usr/lib64/liboauth.so.0.8.4
/usr/share/doc/liboauth-0.9.7
/usr/share/doc/liboauth-0.9.7/AUTHORS
/usr/share/doc/liboauth-0.9.7/COPYING.MIT
/usr/share/doc/liboauth-0.9.7/README

References

Summary

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