How To Install ioport on Fedora 36

In this tutorial we learn how to install ioport in Fedora 36. ioport is Access I/O ports

Introduction

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

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

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

sudo dnf -y install ioport

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

sudo yum -y install ioport

How To Uninstall ioport on Fedora 36

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

sudo dnf remove ioport

ioport Package Contents on Fedora 36

/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/d3
/usr/lib/.build-id/d3/023726b5ee54870ddbfa34f7a4da6ffcd35b23
/usr/lib/.build-id/d3/023726b5ee54870ddbfa34f7a4da6ffcd35b23.1
/usr/lib/.build-id/d3/023726b5ee54870ddbfa34f7a4da6ffcd35b23.2
/usr/lib/.build-id/d3/023726b5ee54870ddbfa34f7a4da6ffcd35b23.3
/usr/lib/.build-id/d3/023726b5ee54870ddbfa34f7a4da6ffcd35b23.4
/usr/lib/.build-id/d3/023726b5ee54870ddbfa34f7a4da6ffcd35b23.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 36 using yum and [dnf]((/fedora/36/dnf/).