How To Install rest.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rest.x86_64 in Amazon Linux 2. rest.x86_64 is A library for access to RESTful web services

Introduction

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

What is rest.x86_64

This library was designed to make it easier to access web services that claim to be “RESTful”. A RESTful service should have urls that represent remote objects, which methods can then be called on. The majority of services don’t actually adhere to this strict definition. Instead, their RESTful end point usually has an API that is just simpler to use compared to other types of APIs they may support (XML-RPC, for instance). It is this kind of API that this library is attempting to support.

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

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

sudo yum -y install rest.x86_64

How To Uninstall rest.x86_64 on Amazon Linux 2

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

sudo yum remove rest.x86_64

rest.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/girepository-1.0/Rest-0.7.typelib
/usr/lib64/girepository-1.0/RestExtras-0.7.typelib
/usr/lib64/librest-0.7.so.0
/usr/lib64/librest-0.7.so.0.0.0
/usr/lib64/librest-extras-0.7.so.0
/usr/lib64/librest-extras-0.7.so.0.0.0
/usr/share/doc/rest-0.8.0
/usr/share/doc/rest-0.8.0/AUTHORS
/usr/share/doc/rest-0.8.0/README
/usr/share/licenses/rest-0.8.0
/usr/share/licenses/rest-0.8.0/COPYING

References

Summary

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