How To Install bonnie++ on Rocky Linux 8

In this tutorial we learn how to install bonnie++ on Rocky Linux 8. bonnie++ is Filesystem and disk benchmark & burn-in suite

Introduction

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

What is bonnie++

bonnie++ filesystem and disk benchmark suite aggressively reads & writes in various ways on your filesystem then outputs useful benchmark performance data. bonnie++ is also useful as a hardware, disk, and filesystem stability test, exposing some types of hardware or kernel failures that would otherwise be difficult to detect. Do not leave bonnie++ installed on a production system. Use only while you test servers.

We can use yum or dnf to install bonnie++ on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bonnie++.

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

sudo dnf -y install bonnie++

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

sudo yum -y install bonnie++

How To Uninstall bonnie++ on Rocky Linux 8

To uninstall only the bonnie++ package we can use the following command:

sudo dnf remove bonnie++

bonnie++ Package Contents on Rocky Linux 8

/usr/bin/bon_csv2html
/usr/bin/bon_csv2txt
/usr/bin/generate_randfile
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/63696744ff7ea42f4f9a381770716dcd4118c0
/usr/lib/.build-id/38
/usr/lib/.build-id/38/1900410b4ad3a9e1d7c05fddbcf79e9930cebd
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/68654d86372b6f24f91c4a72198f3eb7672601
/usr/lib/.build-id/70
/usr/lib/.build-id/70/4e3b414a6e2756450a5e1041159df917202b9c
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/6c6686b85306c19a5fb644575151a66e54a0c5
/usr/lib/.build-id/db
/usr/lib/.build-id/db/28750ce7680d94c13f0b91449912c68ac28a5b
/usr/sbin/bonnie++
/usr/sbin/getc_putc
/usr/sbin/getc_putc_helper
/usr/sbin/zcav
/usr/share/doc/bonnie++
/usr/share/doc/bonnie++/changelog
/usr/share/doc/bonnie++/copyright.txt
/usr/share/doc/bonnie++/credits.txt
/usr/share/doc/bonnie++/readme.html
/usr/share/man/man1/bon_csv2html.1.gz
/usr/share/man/man1/bon_csv2txt.1.gz
/usr/share/man/man1/generate_randfile.1.gz
/usr/share/man/man8/bonnie++.8.gz
/usr/share/man/man8/getc_putc.8.gz
/usr/share/man/man8/zcav.8.gz

References

Summary

In this tutorial we learn how to install bonnie++ on Rocky Linux 8 using yum and dnf.