How To Install redhat-support-tool on CentOS 8

redhat-support-tool is Tool for console access to Red Hat subscriber services

Introduction

In this tutorial we learn how to install redhat-support-tool on CentOS 8.

What is redhat-support-tool

This package contains the Red Hat Support Tool. The Red Hat Support Tool provides console based access to Red Hat’s subscriber services. These services include, but are not limited to, console based access to knowledge-base solutions, case management, automated diagnostic services, etc.

We can use yum or dnf to install redhat-support-tool on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install redhat-support-tool.

Install redhat-support-tool 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-tool using dnf by running the following command:

sudo dnf -y install redhat-support-tool

Install redhat-support-tool 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-tool using yum by running the following command:

sudo yum -y install redhat-support-tool

How To Uninstall redhat-support-tool on CentOS 8

To uninstall only the redhat-support-tool package we can use the following command:

sudo dnf remove redhat-support-tool

redhat-support-tool Package Contents on CentOS 8

/usr/bin/redhat-support-tool
/usr/lib/python3.6/site-packages/redhat_support_tool
/usr/lib/python3.6/site-packages/redhat_support_tool/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_tool/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_tool/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/analyzer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/analyzer.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/apihelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/apihelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/common.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/common.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/confighelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/confighelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/genericinteractiveprompt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/genericinteractiveprompt.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/launchhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/launchhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/recommendationprompter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/recommendationprompter.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/soscleaner.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/soscleaner.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/stderrlogger.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/stderrlogger.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/vmcorehelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/vmcorehelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/yumdownloadhelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/__pycache__/yumdownloadhelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/analyzer.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/apihelper.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/common.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/confighelper.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/constants.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/genericinteractiveprompt.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/launchhelper.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/recommendationprompter.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/soscleaner.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/stderrlogger.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/version.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/vmcorehelper.py
/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/yumdownloadhelper.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/add_attachment.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/add_attachment.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/add_comment.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/add_comment.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/analyze.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/analyze.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/btextract.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/btextract.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/diagnose.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/diagnose.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/find_kerneldebugs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/find_kerneldebugs.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/get_attachment.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/get_attachment.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/get_case.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/get_case.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/get_kerneldebug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/get_kerneldebug.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/kb.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/kb.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_attachments.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_attachments.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_casegroups.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_casegroups.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_cases.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_cases.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_entitlements.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_entitlements.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_kerneldebugs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_kerneldebugs.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_products.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_products.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_versions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/list_versions.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/modify_case.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/modify_case.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/open_case.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/open_case.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/rem_kerneldebug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/rem_kerneldebug.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/search.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/search.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/symptom.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/__pycache__/symptom.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/add_attachment.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/add_comment.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/analyze.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/btextract.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/config.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/diagnose.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/find_kerneldebugs.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/get_attachment.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/get_case.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/get_kerneldebug.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/kb.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_attachments.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_casegroups.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_cases.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_entitlements.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_kerneldebugs.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_products.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/list_versions.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/modify_case.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/open_case.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/rem_kerneldebug.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/search.py
/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/symptom.py
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/btminusa.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/btminusa.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/java_stack_trace.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/java_stack_trace.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/python_traceback.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/__pycache__/python_traceback.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/btminusa.py
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/java_stack_trace.py
/usr/lib/python3.6/site-packages/redhat_support_tool/symptoms/python_traceback.py
/usr/lib/python3.6/site-packages/redhat_support_tool/tools
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/__pycache__/pyparsing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/__pycache__/pyparsing.cpython-36.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/tools/pyparsing.py
/usr/lib/python3.6/site-packages/redhat_support_tool/vendors
/usr/lib/python3.6/site-packages/redhat_support_tool/vendors/__init__.py
/usr/lib/python3.6/site-packages/redhat_support_tool/vendors/__pycache__
/usr/lib/python3.6/site-packages/redhat_support_tool/vendors/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/redhat_support_tool/vendors/__pycache__/__init__.cpython-36.pyc
/usr/share/doc/redhat-support-tool
/usr/share/doc/redhat-support-tool/AUTHORS
/usr/share/doc/redhat-support-tool/README
/usr/share/doc/redhat-support-tool/README.plugins
/usr/share/doc/redhat-support-tool/samples
/usr/share/doc/redhat-support-tool/samples/vendors
/usr/share/doc/redhat-support-tool/samples/vendors/ACMECorp
/usr/share/doc/redhat-support-tool/samples/vendors/ACMECorp/__init__.py
/usr/share/doc/redhat-support-tool/samples/vendors/ACMECorp/open_case.py

References

Summary

In this tutorial we learn how to install redhat-support-tool on CentOS 8 using yum and dnf.