How To Install ioport on Fedora 34

ioport is Access I/O ports

Introduction

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

What is ioport

These commands enable command line and script access directly to I/O ports on PC hardware. The inb, inw and inl commands perform an input (read) operation on the given I/O port, and print the result. The outb, outw and outl commands perform an output (write) operation to the given I/O port, sending the given data. Note that the order of the parameters is ADDRESS DATA. The size of the operation is selected according to the suffix, with ‘b’ meaning byte, ‘w’ meaning word (16 bits) and ’l’ meaning long (32 bits).

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

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

sudo dnf -y install ioport

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

sudo yum -y install ioport

How To Uninstall ioport on Fedora 34

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

sudo dnf remove ioport

ioport Package Contents on Fedora 34

/usr/bin/inb
/usr/bin/inl
/usr/bin/inw
/usr/bin/outb
/usr/bin/outl
/usr/bin/outw
/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/6f8aa309dc7f548937ed87a3eb889773fb5be6
/usr/lib/.build-id/5e/6f8aa309dc7f548937ed87a3eb889773fb5be6.1
/usr/lib/.build-id/5e/6f8aa309dc7f548937ed87a3eb889773fb5be6.2
/usr/lib/.build-id/5e/6f8aa309dc7f548937ed87a3eb889773fb5be6.3
/usr/lib/.build-id/5e/6f8aa309dc7f548937ed87a3eb889773fb5be6.4
/usr/lib/.build-id/5e/6f8aa309dc7f548937ed87a3eb889773fb5be6.5
/usr/share/doc/ioport
/usr/share/doc/ioport/COPYING
/usr/share/doc/ioport/README
/usr/share/man/man1/inb.1.gz
/usr/share/man/man1/inl.1.gz
/usr/share/man/man1/inw.1.gz
/usr/share/man/man1/outb.1.gz
/usr/share/man/man1/outl.1.gz
/usr/share/man/man1/outw.1.gz

References

Summary

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