How To Install libiio on Fedora 34

libiio is Library for Industrial IO Library for Industrial IO

Introduction

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

What is libiio

Library for interfacing with Linux IIO devices libiio is used to interface to Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. libiio 0.21 4.fc34 x86_64 71 k libiio-0.21-4.fc34.src.rpm fedora Library for Industrial IO https LGPLv2 Library for interfacing with Linux IIO devices libiio is used to interface to Linux Industrial Input/Output (IIO) Subsystem. The Linux IIO subsystem is intended to provide support for devices that in some sense are analog to digital or digital to analog converters (ADCs, DACs). This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs, Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors, Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops), Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers.

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

Install libiio 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 libiio using dnf by running the following command:

sudo dnf -y install libiio

Install libiio 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 libiio using yum by running the following command:

sudo yum -y install libiio

How To Uninstall libiio on Fedora 34

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

sudo dnf remove libiio

libiio Package Contents on Fedora 34

/lib/udev/rules.d/90-libiio.rules
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/764a5084ebe4ede33313dca071256148f95fb0
/usr/lib/libiio.so.0
/usr/lib/libiio.so.0.21
/usr/share/licenses/libiio
/usr/share/licenses/libiio/COPYING.txt
/lib/udev/rules.d/90-libiio.rules
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/a561dba38a87cd5b516344da0260c29b0f6a4d
/usr/lib64/libiio.so.0
/usr/lib64/libiio.so.0.21
/usr/share/licenses/libiio
/usr/share/licenses/libiio/COPYING.txt

References

Summary

In this tutorial we learn how to install libiio on Fedora 34 using yum and dnf.