How To Install spi-tools on Fedora 36
Introduction
In this tutorial we learn how to install spi-tools
on Fedora 36.
What is spi-tools
This package contains spi-config and spi-pipe, simple command line tools to help using Linux spidev devices.
We can use yum
or dnf
to install spi-tools
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install spi-tools.
Install spi-tools 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 spi-tools
using dnf
by running the following command:
sudo dnf -y install spi-tools
Install spi-tools 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 spi-tools
using yum
by running the following command:
sudo yum -y install spi-tools
How To Uninstall spi-tools on Fedora 36
To uninstall only the spi-tools
package we can use the following command:
sudo dnf remove spi-tools
spi-tools Package Contents on Fedora 36
/usr/bin/spi-config
/usr/bin/spi-pipe
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/78826ecb47ab47c7c2586623e19fc63f3549ef
/usr/lib/.build-id/72
/usr/lib/.build-id/72/5ac8f75b7ed20dbddc2b8a42f41b26993c4b0f
/usr/share/doc/spi-tools
/usr/share/doc/spi-tools/README.md
/usr/share/licenses/spi-tools
/usr/share/licenses/spi-tools/LICENSE
/usr/share/man/man1/spi-config.1.gz
/usr/share/man/man1/spi-pipe.1.gz
References
Summary
In this tutorial we learn how to install spi-tools
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).