How To Install redhat-support-lib-python on CentOS 7
Introduction
In this tutorial we learn how to install redhat-support-lib-python on CentOS 7.
What is redhat-support-lib-python
This package contains the Red Hat Support Software Development Library. Red Hat customers can use the library to easily integrate their help desk solutions, IT infrastructure, etc. with the services provided by the Red Hat Customer Portal. The library provided by this package is an abstraction layer that simplifies interactions with the Red Hat Customer Portal. Simply create an instance of the API by providing the necessary authorization credentials, then use the API object to interact with the Red Hat Customer Portal. Some of the interactions supported by this API include, but are not limited to, automatic diagnostic services on log files, knowledge base searching, support case creation, attach files to support cases, view the status of support cases, entitlement viewing, etc.
We can use yum or dnf to install redhat-support-lib-python on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install redhat-support-lib-python.
Install redhat-support-lib-python on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install redhat-support-lib-python using yum by running the following command:
sudo yum -y install redhat-support-lib-python
Install redhat-support-lib-python 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 redhat-support-lib-python using dnf by running the following command:
sudo dnf -y install redhat-support-lib-python
How To Uninstall redhat-support-lib-python on CentOS 7
To uninstall only the redhat-support-lib-python package we can use the following command:
sudo dnf remove redhat-support-lib-python
References
Summary
In this tutorial we learn how to install redhat-support-lib-python on CentOS 7 using yum and dnf.