How To Install rest.i686 on Amazon Linux 2

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

Introduction

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

What is rest.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rest.i686.

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

sudo yum -y install rest.i686

How To Uninstall rest.i686 on Amazon Linux 2

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

sudo yum remove rest.i686

rest.i686 Package Contents on Amazon Linux 2

/usr/lib/girepository-1.0/Rest-0.7.typelib
/usr/lib/girepository-1.0/RestExtras-0.7.typelib
/usr/lib/librest-0.7.so.0
/usr/lib/librest-0.7.so.0.0.0
/usr/lib/librest-extras-0.7.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.