How To Install sasutils on Fedora 34

sasutils is Serial Attached SCSI (SAS) utilities

Introduction

In this tutorial we learn how to install sasutils on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sasutils.

Install sasutils on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

To uninstall only the sasutils package we can use the following command:

sudo dnf remove sasutils

sasutils Package Contents on Fedora 34

/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.9/site-packages/sasutils
/usr/lib/python3.9/site-packages/sasutils-0.3.10-py3.9.egg-info
/usr/lib/python3.9/site-packages/sasutils-0.3.10-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/sasutils-0.3.10-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/sasutils-0.3.10-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/sasutils-0.3.10-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/sasutils-0.3.10-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/sasutils/__init__.py
/usr/lib/python3.9/site-packages/sasutils/__pycache__
/usr/lib/python3.9/site-packages/sasutils/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/sas.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/sas.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/scsi.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/scsi.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/ses.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/ses.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/smp.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/smp.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/sysfs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/sysfs.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/vpd.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/__pycache__/vpd.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli
/usr/lib/python3.9/site-packages/sasutils/cli/__init__.py
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_counters.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_counters.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_devices.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_devices.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_discover.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_discover.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_mpath_snic_alias.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_mpath_snic_alias.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_sd_snic_alias.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/sas_sd_snic_alias.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/ses_report.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/__pycache__/ses_report.cpython-39.pyc
/usr/lib/python3.9/site-packages/sasutils/cli/sas_counters.py
/usr/lib/python3.9/site-packages/sasutils/cli/sas_devices.py
/usr/lib/python3.9/site-packages/sasutils/cli/sas_discover.py
/usr/lib/python3.9/site-packages/sasutils/cli/sas_mpath_snic_alias.py
/usr/lib/python3.9/site-packages/sasutils/cli/sas_sd_snic_alias.py
/usr/lib/python3.9/site-packages/sasutils/cli/ses_report.py
/usr/lib/python3.9/site-packages/sasutils/sas.py
/usr/lib/python3.9/site-packages/sasutils/scsi.py
/usr/lib/python3.9/site-packages/sasutils/ses.py
/usr/lib/python3.9/site-packages/sasutils/smp.py
/usr/lib/python3.9/site-packages/sasutils/sysfs.py
/usr/lib/python3.9/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 Fedora 34 using yum and dnf.