How To Install sos-collector on Rocky Linux 8

In this tutorial we learn how to install sos-collector on Rocky Linux 8. sos-collector is Capture sosreports from multiple nodes simultaneously

Introduction

In this tutorial we learn how to install sos-collector on Rocky Linux 8.

What is sos-collector

sos-collector is a utility designed to capture sosreports from multiple nodes at once and collect them into a single archive. If the nodes are part of a cluster, profiles can be used to configure how the sosreport command is run on the nodes.

We can use yum or dnf to install sos-collector on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sos-collector.

Install sos-collector on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install sos-collector using dnf by running the following command:

sudo dnf -y install sos-collector

Install sos-collector on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install sos-collector using yum by running the following command:

sudo yum -y install sos-collector

How To Uninstall sos-collector on Rocky Linux 8

To uninstall only the sos-collector package we can use the following command:

sudo dnf remove sos-collector

sos-collector Package Contents on Rocky Linux 8

/usr/bin/sos-collector
/usr/lib/python3.6/site-packages/sos_collector-1.8-py3.6.egg-info
/usr/lib/python3.6/site-packages/sos_collector-1.8-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/sos_collector-1.8-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/sos_collector-1.8-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/sos_collector-1.8-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/soscollector
/usr/lib/python3.6/site-packages/soscollector/__init__.py
/usr/lib/python3.6/site-packages/soscollector/__pycache__
/usr/lib/python3.6/site-packages/soscollector/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/configuration.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/configuration.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/sos_collector.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/sos_collector.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/sosnode.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/__pycache__/sosnode.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters
/usr/lib/python3.6/site-packages/soscollector/clusters/__init__.py
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/jbon.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/jbon.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/kubernetes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/kubernetes.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/ovirt.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/ovirt.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/pacemaker.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/pacemaker.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/satellite.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/__pycache__/satellite.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/clusters/jbon.py
/usr/lib/python3.6/site-packages/soscollector/clusters/kubernetes.py
/usr/lib/python3.6/site-packages/soscollector/clusters/ovirt.py
/usr/lib/python3.6/site-packages/soscollector/clusters/pacemaker.py
/usr/lib/python3.6/site-packages/soscollector/clusters/satellite.py
/usr/lib/python3.6/site-packages/soscollector/configuration.py
/usr/lib/python3.6/site-packages/soscollector/exceptions.py
/usr/lib/python3.6/site-packages/soscollector/hosts
/usr/lib/python3.6/site-packages/soscollector/hosts/__init__.py
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__/debian.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__/debian.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__/redhat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/soscollector/hosts/__pycache__/redhat.cpython-36.pyc
/usr/lib/python3.6/site-packages/soscollector/hosts/debian.py
/usr/lib/python3.6/site-packages/soscollector/hosts/redhat.py
/usr/lib/python3.6/site-packages/soscollector/sos_collector.py
/usr/lib/python3.6/site-packages/soscollector/sosnode.py
/usr/share/licenses/sos-collector
/usr/share/licenses/sos-collector/LICENSE
/usr/share/man/man1/sos-collector.1.gz

References

Summary

In this tutorial we learn how to install sos-collector on Rocky Linux 8 using yum and dnf.