How To Install sdparm on Fedora 34
Introduction
In this tutorial we learn how to install sdparm
on Fedora 34.
What is sdparm
SCSI disk parameters are held in mode pages. This utility lists or changes those parameters. Other SCSI devices (or devices that use the SCSI command set e.g. some SATA devices) such as CD/DVD and tape drives may also find parts of sdparm useful. Fetches Vital Product Data pages. Can send commands to start or stop the media and load or unload removable media. Warning such that the disk stops operating or is slowed down. Use with care.
We can use yum
or dnf
to install sdparm
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sdparm.
Install sdparm 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 sdparm
using dnf
by running the following command:
sudo dnf -y install sdparm
Install sdparm 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 sdparm
using yum
by running the following command:
sudo yum -y install sdparm
How To Uninstall sdparm on Fedora 34
To uninstall only the sdparm
package we can use the following command:
sudo dnf remove sdparm
sdparm Package Contents on Fedora 34
/usr/bin/sas_disk_blink
/usr/bin/scsi_ch_swp
/usr/bin/sdparm
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/f680b824ecfa05a9b91feac51e2710692ef36e
/usr/share/doc/sdparm
/usr/share/doc/sdparm/AUTHORS
/usr/share/doc/sdparm/CREDITS
/usr/share/doc/sdparm/ChangeLog
/usr/share/doc/sdparm/README
/usr/share/doc/sdparm/notes.txt
/usr/share/licenses/sdparm
/usr/share/licenses/sdparm/COPYING
/usr/share/man/man8/sas_disk_blink.8.gz
/usr/share/man/man8/scsi_ch_swp.8.gz
/usr/share/man/man8/sdparm.8.gz
/usr/bin/sas_disk_blink
/usr/bin/scsi_ch_swp
/usr/bin/sdparm
/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/e9a43301055be772bfedf4dffe964e1eb45c38
/usr/share/doc/sdparm
/usr/share/doc/sdparm/AUTHORS
/usr/share/doc/sdparm/CREDITS
/usr/share/doc/sdparm/ChangeLog
/usr/share/doc/sdparm/README
/usr/share/doc/sdparm/notes.txt
/usr/share/licenses/sdparm
/usr/share/licenses/sdparm/COPYING
/usr/share/man/man8/sas_disk_blink.8.gz
/usr/share/man/man8/scsi_ch_swp.8.gz
/usr/share/man/man8/sdparm.8.gz
References
Summary
In this tutorial we learn how to install sdparm
on Fedora 34 using yum and dnf.