How To Install rest on Rocky Linux 8

In this tutorial we learn how to install rest on Rocky Linux 8. rest is A library for access to RESTful web services

Introduction

In this tutorial we learn how to install rest on Rocky Linux 8.

What is rest

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

Install rest on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rest using dnf by running the following command:

sudo dnf -y install rest

Install rest on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rest using yum by running the following command:

sudo yum -y install rest

How To Uninstall rest on Rocky Linux 8

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

sudo dnf remove rest

rest Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/49560e4bb8fd7da08185097293ef4fca13a5c5
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/2ad3c12a9a7d7c89f9492b127a0830d6c8aae5
/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
/usr/share/doc/rest/AUTHORS
/usr/share/doc/rest/README
/usr/share/licenses/rest
/usr/share/licenses/rest/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/5d44b3f66642ff0bdbe0507b9863cecab745e6
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/3dc6dfc1ad261790c954c3da79d4c124e4f40c
/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
/usr/share/doc/rest/AUTHORS
/usr/share/doc/rest/README
/usr/share/licenses/rest
/usr/share/licenses/rest/COPYING

References

Summary

In this tutorial we learn how to install rest on Rocky Linux 8 using yum and dnf.