How To Install bonnie++ on Fedora 34
Introduction
In this tutorial we learn how to install bonnie++
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bonnie++.
Install bonnie++ 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 bonnie++
using dnf
by running the following command:
sudo dnf -y install bonnie++
Install bonnie++ 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 bonnie++
using yum
by running the following command:
sudo yum -y install bonnie++
How To Uninstall bonnie++ on Fedora 34
To uninstall only the bonnie++
package we can use the following command:
sudo dnf remove bonnie++
bonnie++ Package Contents on Fedora 34
/usr/bin/bon_csv2html
/usr/bin/bon_csv2txt
/usr/bin/generate_randfile
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/94504fd713dc94f556b6aedb0e228c6018912c
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/8182e80cad1e1927da534f0bb797801fb72d1f
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/56825ad0904d01e81887f9cbc95d92e366070c
/usr/lib/.build-id/58
/usr/lib/.build-id/58/172e81c7643bc5ccf289686862e14259fc9187
/usr/lib/.build-id/60
/usr/lib/.build-id/60/6d2f304cba81994d2dfdef55aa892f92de6fb0
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/b79ef02918f22fc5c90e0a61a373ff38872100
/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 Fedora 34 using yum and dnf.