How To Install fio on Fedora 34

fio is Multithreaded IO generation tool

Introduction

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

What is fio

fio is an I/O tool that will spawn a number of threads or processes doing a particular type of io action as specified by the user. fio takes a number of global parameters, each inherited by the thread unless otherwise parameters given to them overriding that setting is given. The typical use of fio is to write a job file matching the io load one wants to simulate.

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

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

sudo dnf -y install fio

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

sudo yum -y install fio

How To Uninstall fio on Fedora 34

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

sudo dnf remove fio

fio Package Contents on Fedora 34

/usr/bin/fio
/usr/bin/fio-btrace2fio
/usr/bin/fio-dedupe
/usr/bin/fio-genzipf
/usr/bin/fio-histo-log-pctiles.py
/usr/bin/fio-verify-state
/usr/bin/fio2gnuplot
/usr/bin/fio_generate_plots
/usr/bin/fio_jsonplus_clat2csv
/usr/bin/fiologparser.py
/usr/bin/fiologparser_hist.py
/usr/bin/genfio
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/e87e335ad5746d8f0bf86c803f8d097a71ccf4
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/11422dd862f3c3b6ad9d8edddd1b6a9eba6b72
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/a589b52e7f4e120beb699736ca728c9291a287
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/7ebea83c310f876fe9c2efe0470f0e4b7470fd
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/1557e80c3472ac8972f7b46daa4f66a2cd4361
/usr/lib64/fio
/usr/share/doc/fio
/usr/share/doc/fio/GFIO-TODO
/usr/share/doc/fio/HOWTO
/usr/share/doc/fio/MORAL-LICENSE
/usr/share/doc/fio/README
/usr/share/doc/fio/REPORTING-BUGS
/usr/share/doc/fio/SERVER-TODO
/usr/share/doc/fio/STEADYSTATE-TODO
/usr/share/doc/fio/examples
/usr/share/doc/fio/examples/1mbs_clients.fio
/usr/share/doc/fio/examples/aio-read.fio
/usr/share/doc/fio/examples/backwards-read.fio
/usr/share/doc/fio/examples/basic-verify.fio
/usr/share/doc/fio/examples/butterfly.fio
/usr/share/doc/fio/examples/cpp_null.fio
/usr/share/doc/fio/examples/cpuio.fio
/usr/share/doc/fio/examples/cross-stripe-verify.fio
/usr/share/doc/fio/examples/dev-dax.fio
/usr/share/doc/fio/examples/disk-zone-profile.fio
/usr/share/doc/fio/examples/e4defrag.fio
/usr/share/doc/fio/examples/e4defrag2.fio
/usr/share/doc/fio/examples/enospc-pressure.fio
/usr/share/doc/fio/examples/exitwhat.fio
/usr/share/doc/fio/examples/falloc.fio
/usr/share/doc/fio/examples/filecreate-ioengine.fio
/usr/share/doc/fio/examples/filestat-ioengine.fio
/usr/share/doc/fio/examples/fio-rand-RW.fio
/usr/share/doc/fio/examples/fio-rand-read.fio
/usr/share/doc/fio/examples/fio-rand-write.fio
/usr/share/doc/fio/examples/fio-seq-RW.fio
/usr/share/doc/fio/examples/fio-seq-read.fio
/usr/share/doc/fio/examples/fio-seq-write.fio
/usr/share/doc/fio/examples/fixed-rate-submission.fio
/usr/share/doc/fio/examples/flow.fio
/usr/share/doc/fio/examples/fsx.fio
/usr/share/doc/fio/examples/ftruncate.fio
/usr/share/doc/fio/examples/gfapi.fio
/usr/share/doc/fio/examples/gpudirect-rdmaio-client.fio
/usr/share/doc/fio/examples/gpudirect-rdmaio-server.fio
/usr/share/doc/fio/examples/http-s3.fio
/usr/share/doc/fio/examples/http-swift.fio
/usr/share/doc/fio/examples/http-webdav.fio
/usr/share/doc/fio/examples/ime.fio
/usr/share/doc/fio/examples/iometer-file-access-server.fio
/usr/share/doc/fio/examples/jesd219.fio
/usr/share/doc/fio/examples/latency-profile.fio
/usr/share/doc/fio/examples/libhdfs.fio
/usr/share/doc/fio/examples/libiscsi.fio
/usr/share/doc/fio/examples/libpmem.fio
/usr/share/doc/fio/examples/libzbc-rand-write.fio
/usr/share/doc/fio/examples/libzbc-seq-read.fio
/usr/share/doc/fio/examples/mtd.fio
/usr/share/doc/fio/examples/nbd.fio
/usr/share/doc/fio/examples/netio.fio
/usr/share/doc/fio/examples/netio_multicast.fio
/usr/share/doc/fio/examples/null.fio
/usr/share/doc/fio/examples/numa.fio
/usr/share/doc/fio/examples/pmemblk.fio
/usr/share/doc/fio/examples/poisson-rate-submission.fio
/usr/share/doc/fio/examples/rados.fio
/usr/share/doc/fio/examples/rand-zones.fio
/usr/share/doc/fio/examples/rbd.fio
/usr/share/doc/fio/examples/rdmaio-client.fio
/usr/share/doc/fio/examples/rdmaio-server.fio
/usr/share/doc/fio/examples/ssd-steadystate.fio
/usr/share/doc/fio/examples/ssd-test.fio
/usr/share/doc/fio/examples/steadystate.fio
/usr/share/doc/fio/examples/surface-scan.fio
/usr/share/doc/fio/examples/tiobench-example.fio
/usr/share/doc/fio/examples/waitfor.fio
/usr/share/doc/fio/examples/zbd-rand-write.fio
/usr/share/doc/fio/examples/zbd-seq-read.fio
/usr/share/doc/fio/examples/zipf.fio
/usr/share/fio
/usr/share/fio/graph2D.gpm
/usr/share/fio/graph3D.gpm
/usr/share/fio/math.gpm
/usr/share/licenses/fio
/usr/share/licenses/fio/COPYING
/usr/share/man/man1/fio.1.gz
/usr/share/man/man1/fio2gnuplot.1.gz
/usr/share/man/man1/fio_generate_plots.1.gz
/usr/share/man/man1/fiologparser_hist.py.1.gz
/usr/bin/fio
/usr/bin/fio-btrace2fio
/usr/bin/fio-dedupe
/usr/bin/fio-genzipf
/usr/bin/fio-histo-log-pctiles.py
/usr/bin/fio-verify-state
/usr/bin/fio2gnuplot
/usr/bin/fio_generate_plots
/usr/bin/fio_jsonplus_clat2csv
/usr/bin/fiologparser.py
/usr/bin/fiologparser_hist.py
/usr/bin/genfio
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/38e2b9af8e8c0a92f5c58a11913bc86081bd62
/usr/lib/.build-id/72
/usr/lib/.build-id/72/869782cb9e3289346907fbb99972a0cebfd32c
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/7dbd9ff39305aca88f8cf8c188d801850d0b0b
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/c1c44501e78bce6626c199ecf662aa79f741cb
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/4971cf2065e4767cbc9f94989f81ea66e90eea
/usr/lib64/fio
/usr/share/doc/fio
/usr/share/doc/fio/GFIO-TODO
/usr/share/doc/fio/HOWTO
/usr/share/doc/fio/MORAL-LICENSE
/usr/share/doc/fio/README
/usr/share/doc/fio/REPORTING-BUGS
/usr/share/doc/fio/SERVER-TODO
/usr/share/doc/fio/STEADYSTATE-TODO
/usr/share/doc/fio/examples
/usr/share/doc/fio/examples/1mbs_clients.fio
/usr/share/doc/fio/examples/aio-read.fio
/usr/share/doc/fio/examples/backwards-read.fio
/usr/share/doc/fio/examples/basic-verify.fio
/usr/share/doc/fio/examples/butterfly.fio
/usr/share/doc/fio/examples/cpp_null.fio
/usr/share/doc/fio/examples/cpuio.fio
/usr/share/doc/fio/examples/cross-stripe-verify.fio
/usr/share/doc/fio/examples/dev-dax.fio
/usr/share/doc/fio/examples/disk-zone-profile.fio
/usr/share/doc/fio/examples/e4defrag.fio
/usr/share/doc/fio/examples/e4defrag2.fio
/usr/share/doc/fio/examples/enospc-pressure.fio
/usr/share/doc/fio/examples/exitwhat.fio
/usr/share/doc/fio/examples/falloc.fio
/usr/share/doc/fio/examples/filecreate-ioengine.fio
/usr/share/doc/fio/examples/filestat-ioengine.fio
/usr/share/doc/fio/examples/fio-rand-RW.fio
/usr/share/doc/fio/examples/fio-rand-read.fio
/usr/share/doc/fio/examples/fio-rand-write.fio
/usr/share/doc/fio/examples/fio-seq-RW.fio
/usr/share/doc/fio/examples/fio-seq-read.fio
/usr/share/doc/fio/examples/fio-seq-write.fio
/usr/share/doc/fio/examples/fixed-rate-submission.fio
/usr/share/doc/fio/examples/flow.fio
/usr/share/doc/fio/examples/fsx.fio
/usr/share/doc/fio/examples/ftruncate.fio
/usr/share/doc/fio/examples/gfapi.fio
/usr/share/doc/fio/examples/gpudirect-rdmaio-client.fio
/usr/share/doc/fio/examples/gpudirect-rdmaio-server.fio
/usr/share/doc/fio/examples/http-s3.fio
/usr/share/doc/fio/examples/http-swift.fio
/usr/share/doc/fio/examples/http-webdav.fio
/usr/share/doc/fio/examples/ime.fio
/usr/share/doc/fio/examples/iometer-file-access-server.fio
/usr/share/doc/fio/examples/jesd219.fio
/usr/share/doc/fio/examples/latency-profile.fio
/usr/share/doc/fio/examples/libcufile-cufile.fio
/usr/share/doc/fio/examples/libcufile-posix.fio
/usr/share/doc/fio/examples/libhdfs.fio
/usr/share/doc/fio/examples/libiscsi.fio
/usr/share/doc/fio/examples/libpmem.fio
/usr/share/doc/fio/examples/libzbc-rand-write.fio
/usr/share/doc/fio/examples/libzbc-seq-read.fio
/usr/share/doc/fio/examples/mtd.fio
/usr/share/doc/fio/examples/nbd.fio
/usr/share/doc/fio/examples/netio.fio
/usr/share/doc/fio/examples/netio_multicast.fio
/usr/share/doc/fio/examples/null.fio
/usr/share/doc/fio/examples/numa.fio
/usr/share/doc/fio/examples/pmemblk.fio
/usr/share/doc/fio/examples/poisson-rate-submission.fio
/usr/share/doc/fio/examples/rados.fio
/usr/share/doc/fio/examples/rand-zones.fio
/usr/share/doc/fio/examples/rbd.fio
/usr/share/doc/fio/examples/rdmaio-client.fio
/usr/share/doc/fio/examples/rdmaio-server.fio
/usr/share/doc/fio/examples/ssd-steadystate.fio
/usr/share/doc/fio/examples/ssd-test.fio
/usr/share/doc/fio/examples/steadystate.fio
/usr/share/doc/fio/examples/surface-scan.fio
/usr/share/doc/fio/examples/tiobench-example.fio
/usr/share/doc/fio/examples/waitfor.fio
/usr/share/doc/fio/examples/zbd-rand-write.fio
/usr/share/doc/fio/examples/zbd-seq-read.fio
/usr/share/doc/fio/examples/zipf.fio
/usr/share/fio
/usr/share/fio/graph2D.gpm
/usr/share/fio/graph3D.gpm
/usr/share/fio/math.gpm
/usr/share/licenses/fio
/usr/share/licenses/fio/COPYING
/usr/share/man/man1/fio.1.gz
/usr/share/man/man1/fio2gnuplot.1.gz
/usr/share/man/man1/fio_generate_plots.1.gz
/usr/share/man/man1/fiologparser_hist.py.1.gz

References

Summary

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