How To Install rest on Fedora 34

rest is A library for access to RESTful web services A library for access to RESTful web services

Introduction

In this tutorial we learn how to install rest on Fedora 34.

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. rest 0.8.1 9.fc34 x86_64 69 k rest-0.8.1-9.fc34.src.rpm fedora A library for access to RESTful web services http LGPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install rest.

Install rest on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install rest

Install rest on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove rest

rest Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/eceb6dbc1a57f9c62d92dd09af97c467c2d844
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c398dc7cae6484903899864272b27502a2689c
/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
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/e92a1bbd7ca10875b94ab179d60cffd11743df
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/bce9a5a6d459962cb79fc4bf946fa22762c7a6
/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

References

Summary

In this tutorial we learn how to install rest on Fedora 34 using yum and dnf.