How To Install python-remoteobjects on CentOS 7
Introduction
In this tutorial we learn how to install python-remoteobjects
on CentOS 7.
What is python-remoteobjects
remoteobjects are real subclassable Python objects on which you can build a rich API library. remoteobjects provides easy coding and transfer between Python objects and a JSON REST API. You can define the resources in a RESTful API as RemoteObject classes and their properties. These objects then support using the basic HTTP verbs to request and submit data to the API.
We can use yum
or dnf
to install python-remoteobjects
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-remoteobjects.
Install python-remoteobjects on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install python-remoteobjects
using yum
by running the following command:
sudo yum -y install python-remoteobjects
Install python-remoteobjects 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.
sudo dnf makecache
After updating yum database, We can install python-remoteobjects
using dnf
by running the following command:
sudo dnf -y install python-remoteobjects
How To Uninstall python-remoteobjects on CentOS 7
To uninstall only the python-remoteobjects
package we can use the following command:
sudo dnf remove python-remoteobjects
References
Summary
In this tutorial we learn how to install python-remoteobjects
on CentOS 7 using yum
and dnf
.