How To Install smp_utils on CentOS 7

In this tutorial we learn how to install smp_utils on CentOS 7. smp_utils is Utilities for SAS management protocol (SMP)

Introduction

In this tutorial we learn how to install smp_utils on CentOS 7.

What is smp_utils

This is a package of utilities. Each utility sends a Serial Attached SCSI (SAS) Management Protocol (SMP) request to a SMP target. If the request fails then the error is decoded. If the request succeeds then the response is either decoded, printed out in hexadecimal or output in binary. This package supports multiple interfaces since SMP passthroughs are not mature. This package supports the linux 2.4 and 2.6 series and should be easy to port to other operating systems. Warning and the incorrect usage of them may render your system inoperable.

We can use yum or dnf to install smp_utils on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install smp_utils.

Install smp_utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install smp_utils using yum by running the following command:

sudo yum -y install smp_utils

Install smp_utils on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install smp_utils

How To Uninstall smp_utils on CentOS 7

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

sudo dnf remove smp_utils

References

Summary

In this tutorial we learn how to install smp_utils on CentOS 7 using yum and dnf.