How To Install redhat-support-lib-python on CentOS 8
Introduction
In this tutorial we learn how to install redhat-support-lib-python
on CentOS 8.
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 8. 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 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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
Install redhat-support-lib-python on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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
How To Uninstall redhat-support-lib-python on CentOS 8
To uninstall only the redhat-support-lib-python
package we can use the following command:
sudo dnf remove redhat-support-lib-python
redhat-support-lib-python Package Contents on CentOS 8
/usr/lib/python3.6/site-packages/redhat_support_lib
/usr/lib/python3.6/site-packages/redhat_support_lib/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__/api.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__/api.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/api.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/brokers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/brokers.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/common.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/common.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/connectionspool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/connectionspool.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/contextmanager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/contextmanager.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/proxy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/proxy.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/threadpool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/__pycache__/threadpool.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/brokers.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/common.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/connectionspool.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/contextmanager.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/errors.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/proxy.py
/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/threadpool.py
/usr/lib/python3.6/site-packages/redhat_support_lib/system
/usr/lib/python3.6/site-packages/redhat_support_lib/system/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_lib/system/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_lib/system/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/system/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/system/__pycache__/httplib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/system/__pycache__/httplib.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/system/httplib.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/confighelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/confighelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/filterhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/filterhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/ftphelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/ftphelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/parsehelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/parsehelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/reflectionhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/reflectionhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/reporthelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/reporthelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/searchhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/searchhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/timerhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/timerhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/urlhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/__pycache__/urlhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/confighelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/filterhelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/ftphelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/parsehelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/reflectionhelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/reporthelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/searchhelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/timerhelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/utils/urlhelper.py
/usr/lib/python3.6/site-packages/redhat_support_lib/version.py
/usr/lib/python3.6/site-packages/redhat_support_lib/web
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__/proxyhttpsconnection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/web/__pycache__/proxyhttpsconnection.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/web/connection.py
/usr/lib/python3.6/site-packages/redhat_support_lib/web/proxyhttpsconnection.py
/usr/lib/python3.6/site-packages/redhat_support_lib/xml
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__/params.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__/params.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__/report.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/__pycache__/report.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/params.py
/usr/lib/python3.6/site-packages/redhat_support_lib/xml/report.py
/usr/share/doc/redhat-support-lib-python
/usr/share/doc/redhat-support-lib-python/AUTHORS
/usr/share/doc/redhat-support-lib-python/README
References
Summary
In this tutorial we learn how to install redhat-support-lib-python
on CentOS 8 using yum and dnf.