How To Install python-tahrir-api on CentOS 7
Introduction
In this tutorial we learn how to install python-tahrir-api
on CentOS 7.
What is python-tahrir-api
API for interacting with the Tahrir database Based on the `Tahrir <https There are two classes that can be used in this module. The first is TahrirDatabase class located in tahrir_api.dbapi and the second is the database model located in tahrir_api.model. The TahrirDatabase class is a high level way to interact with the database. The model is used for a slightly more low level way of interacting with the database. It allows for custom interactions with the database without having to use the TahrirDatabase class.
We can use yum
or dnf
to install python-tahrir-api
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-tahrir-api.
Install python-tahrir-api 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-tahrir-api
using yum
by running the following command:
sudo yum -y install python-tahrir-api
Install python-tahrir-api 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-tahrir-api
using dnf
by running the following command:
sudo dnf -y install python-tahrir-api
How To Uninstall python-tahrir-api on CentOS 7
To uninstall only the python-tahrir-api
package we can use the following command:
sudo dnf remove python-tahrir-api
References
Summary
In this tutorial we learn how to install python-tahrir-api
on CentOS 7 using yum
and dnf
.