How To Install rest on CentOS 7
Introduction
In this tutorial we learn how to install rest
on CentOS 7.
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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rest.
Install rest on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install rest
using yum
by running the following command:
Install rest on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install rest
using dnf
by running the following command:
How To Uninstall rest on CentOS 7
To uninstall only the rest
package we can use the following command:
References
Summary
In this tutorial we learn how to install rest
on CentOS 7 using yum
and dnf
.