How To Install fio on Rocky Linux 8

In this tutorial we learn how to install fio on Rocky Linux 8. fio is Multithreaded IO generation tool

Introduction

In this tutorial we learn how to install fio on Rocky Linux 8.

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

Install fio on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install fio using dnf by running the following command:

sudo dnf -y install fio

Install fio on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove fio

fio Package Contents on Rocky Linux 8

/usr/bin/fio
/usr/bin/fio-btrace2fio
/usr/bin/fio-dedupe
/usr/bin/fio-genzipf
/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/34
/usr/lib/.build-id/34/2e17ec006388ccd6351014b65d25a9dc59cf1a
/usr/lib/.build-id/61
/usr/lib/.build-id/61/5085da63310a1101224928def0e0c39684ca1f
/usr/lib/.build-id/63
/usr/lib/.build-id/63/0893f3690f07451831aded90ee433594b95666
/usr/lib/.build-id/84
/usr/lib/.build-id/84/6092e0adb534a69f8a87c6bc46081ca7fbff34
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/1826d43440106d56b59d4238641a880f01417d
/usr/share/doc/fio
/usr/share/doc/fio/COPYING
/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/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/zipf.fio
/usr/share/fio
/usr/share/fio/graph2D.gpm
/usr/share/fio/graph3D.gpm
/usr/share/fio/math.gpm
/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 Rocky Linux 8 using yum and dnf.