How To Install smp_utils on Fedora 36

In this tutorial we learn how to install smp_utils in Fedora 36. smp_utils is Utilities for SAS management protocol (SMP)

Introduction

In this tutorial we learn how to install smp_utils on Fedora 36.

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

Install smp_utils on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install smp_utils

Install smp_utils on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install smp_utils

How To Uninstall smp_utils on Fedora 36

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

sudo dnf remove smp_utils

smp_utils Package Contents on Fedora 36

/usr/bin/smp_conf_general
/usr/bin/smp_conf_phy_event
/usr/bin/smp_conf_route_info
/usr/bin/smp_conf_zone_man_pass
/usr/bin/smp_conf_zone_perm_tbl
/usr/bin/smp_conf_zone_phy_info
/usr/bin/smp_discover
/usr/bin/smp_discover_list
/usr/bin/smp_ena_dis_zoning
/usr/bin/smp_phy_control
/usr/bin/smp_phy_test
/usr/bin/smp_read_gpio
/usr/bin/smp_rep_broadcast
/usr/bin/smp_rep_exp_route_tbl
/usr/bin/smp_rep_general
/usr/bin/smp_rep_manufacturer
/usr/bin/smp_rep_phy_err_log
/usr/bin/smp_rep_phy_event
/usr/bin/smp_rep_phy_event_list
/usr/bin/smp_rep_phy_sata
/usr/bin/smp_rep_route_info
/usr/bin/smp_rep_self_conf_stat
/usr/bin/smp_rep_zone_man_pass
/usr/bin/smp_rep_zone_perm_tbl
/usr/bin/smp_write_gpio
/usr/bin/smp_zone_activate
/usr/bin/smp_zone_lock
/usr/bin/smp_zone_unlock
/usr/bin/smp_zoned_broadcast
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/51cc4656c29240c8b06efa797ed6b696e4d8ed
/usr/lib/.build-id/13
/usr/lib/.build-id/13/62ff090585cda31722ad6bb4d8d814d08437dd
/usr/lib/.build-id/21
/usr/lib/.build-id/21/be78870ad7407bc420cd2eed4595be682bb7c5
/usr/lib/.build-id/29
/usr/lib/.build-id/29/6ad325530ab6fb7626be339f6ca53a41cbac13
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/8c9a420ed4594b76586ab66ee55b1bcdf91e7b
/usr/lib/.build-id/41
/usr/lib/.build-id/41/bf640f186b356044a7ac45696cee48ea8306e3
/usr/lib/.build-id/59
/usr/lib/.build-id/59/bbf90d2d00a5a4ce04bacdabe3249ff4c75244
/usr/lib/.build-id/66
/usr/lib/.build-id/66/60cbe7006948e0e60a327402f6efbba2e5c5b0
/usr/lib/.build-id/74
/usr/lib/.build-id/74/8374314f6af5f86ded3c1a846659118900c005
/usr/lib/.build-id/74/cf354e99e5c48d7787dd68e83ff6a97be3be89
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/3bf72ad21f7566be38e398129c162f8e431832
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/0035dfe35e0662b9b5db8bb726f8f9c4b9d7b1
/usr/lib/.build-id/96
/usr/lib/.build-id/96/d3c99c07efb03de5c2231546d5bde7f9fe2adc
/usr/lib/.build-id/97
/usr/lib/.build-id/97/29745253b13676246225912c87cb81d3db46d2
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/83a7dce115474c94c4b7a90f494d9dee1ed029
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/d78dd83ada7b1a08515d33da0dc5921fbb1b35
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/d8452dd2d47e22662397f0dca495d6e6d5ed91
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/1a7d75d35676726c41888b59583f8598439a2e
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/3a18fc0b9f9b029f7907c98f69d46216426c3e
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/9a774205245120e16289855a29446dc06e6c67
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/6beececefc1b47b60d19bce3d586fd324949a0
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/dc8de029d798a4e02dd2ec18b08ef8d59e56e2
/usr/lib/.build-id/e0/f4ea7d196176f47843995de66857607fe8b47f
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/2710daa0b79b578cb3053f103564a528aa70a6
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/25e8d4a189c41697ce379691094a6de4294c29
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/be6ee412c72e085027ff894df4b1717a4a9ffd
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/eef5daf9a537f98191ab976d5e7894997d3442
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/d6e01abb92ac289f9f38beaae4de501d81fc23
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/253676c8c63272fc3555af656d8152503f9672
/usr/share/doc/smp_utils
/usr/share/doc/smp_utils/COPYING
/usr/share/doc/smp_utils/COVERAGE
/usr/share/doc/smp_utils/CREDITS
/usr/share/doc/smp_utils/ChangeLog
/usr/share/doc/smp_utils/README
/usr/share/man/man8/smp_conf_general.8.gz
/usr/share/man/man8/smp_conf_phy_event.8.gz
/usr/share/man/man8/smp_conf_route_info.8.gz
/usr/share/man/man8/smp_conf_zone_man_pass.8.gz
/usr/share/man/man8/smp_conf_zone_perm_tbl.8.gz
/usr/share/man/man8/smp_conf_zone_phy_info.8.gz
/usr/share/man/man8/smp_discover.8.gz
/usr/share/man/man8/smp_discover_list.8.gz
/usr/share/man/man8/smp_ena_dis_zoning.8.gz
/usr/share/man/man8/smp_phy_control.8.gz
/usr/share/man/man8/smp_phy_test.8.gz
/usr/share/man/man8/smp_read_gpio.8.gz
/usr/share/man/man8/smp_rep_broadcast.8.gz
/usr/share/man/man8/smp_rep_exp_route_tbl.8.gz
/usr/share/man/man8/smp_rep_general.8.gz
/usr/share/man/man8/smp_rep_manufacturer.8.gz
/usr/share/man/man8/smp_rep_phy_err_log.8.gz
/usr/share/man/man8/smp_rep_phy_event.8.gz
/usr/share/man/man8/smp_rep_phy_event_list.8.gz
/usr/share/man/man8/smp_rep_phy_sata.8.gz
/usr/share/man/man8/smp_rep_route_info.8.gz
/usr/share/man/man8/smp_rep_self_conf_stat.8.gz
/usr/share/man/man8/smp_rep_zone_man_pass.8.gz
/usr/share/man/man8/smp_rep_zone_perm_tbl.8.gz
/usr/share/man/man8/smp_utils.8.gz
/usr/share/man/man8/smp_write_gpio.8.gz
/usr/share/man/man8/smp_zone_activate.8.gz
/usr/share/man/man8/smp_zone_lock.8.gz
/usr/share/man/man8/smp_zone_unlock.8.gz
/usr/share/man/man8/smp_zoned_broadcast.8.gz

References

Summary

In this tutorial we learn how to install smp_utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).