How To Install sasutils on CentOS 8
Introduction
In this tutorial we learn how to install sasutils
on CentOS 8.
What is sasutils
sasutils is a set of command-line tools and a Python library to ease the administration of Serial Attached SCSI (SAS) fabrics.
We can use yum
or dnf
to install sasutils
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install sasutils.
Install sasutils 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 sasutils
using dnf
by running the following command:
sudo dnf -y install sasutils
Install sasutils 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 sasutils
using yum
by running the following command:
sudo yum -y install sasutils
How To Uninstall sasutils on CentOS 8
To uninstall only the sasutils
package we can use the following command:
sudo dnf remove sasutils
sasutils Package Contents on CentOS 8
/usr/bin/sas_counters
/usr/bin/sas_devices
/usr/bin/sas_discover
/usr/bin/sas_mpath_snic_alias
/usr/bin/sas_sd_snic_alias
/usr/bin/ses_report
/usr/lib/python3.6/site-packages/sasutils
/usr/lib/python3.6/site-packages/sasutils-0.3.10-py3.6.egg-info
/usr/lib/python3.6/site-packages/sasutils-0.3.10-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/sasutils-0.3.10-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/sasutils-0.3.10-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/sasutils-0.3.10-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/sasutils-0.3.10-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/sasutils/__init__.py
/usr/lib/python3.6/site-packages/sasutils/__pycache__
/usr/lib/python3.6/site-packages/sasutils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/sas.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/sas.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/scsi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/scsi.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/ses.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/ses.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/smp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/smp.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/sysfs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/sysfs.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/vpd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/__pycache__/vpd.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli
/usr/lib/python3.6/site-packages/sasutils/cli/__init__.py
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_counters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_counters.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_devices.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_devices.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_discover.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_discover.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_mpath_snic_alias.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_mpath_snic_alias.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_sd_snic_alias.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/sas_sd_snic_alias.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/ses_report.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/__pycache__/ses_report.cpython-36.pyc
/usr/lib/python3.6/site-packages/sasutils/cli/sas_counters.py
/usr/lib/python3.6/site-packages/sasutils/cli/sas_devices.py
/usr/lib/python3.6/site-packages/sasutils/cli/sas_discover.py
/usr/lib/python3.6/site-packages/sasutils/cli/sas_mpath_snic_alias.py
/usr/lib/python3.6/site-packages/sasutils/cli/sas_sd_snic_alias.py
/usr/lib/python3.6/site-packages/sasutils/cli/ses_report.py
/usr/lib/python3.6/site-packages/sasutils/sas.py
/usr/lib/python3.6/site-packages/sasutils/scsi.py
/usr/lib/python3.6/site-packages/sasutils/ses.py
/usr/lib/python3.6/site-packages/sasutils/smp.py
/usr/lib/python3.6/site-packages/sasutils/sysfs.py
/usr/lib/python3.6/site-packages/sasutils/vpd.py
/usr/share/doc/sasutils
/usr/share/doc/sasutils/README.rst
/usr/share/licenses/sasutils
/usr/share/licenses/sasutils/LICENSE.txt
/usr/share/man/man1/sas_counters.1.gz
/usr/share/man/man1/sas_devices.1.gz
/usr/share/man/man1/sas_discover.1.gz
/usr/share/man/man1/ses_report.1.gz
References
Summary
In this tutorial we learn how to install sasutils
on CentOS 8 using yum and dnf.