How To Install bench on Fedora 36
Introduction
In this tutorial we learn how to install bench on Fedora 36.
What is bench
Think of this as a more powerful alternative to the ’time’ command. Use this command-line tool to benchmark a command using Haskell’s ‘criterion’ library.
We can use yum or dnf to install bench on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install bench.
Install bench 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 bench using dnf by running the following command:
sudo dnf -y install bench
Install bench 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 bench using yum by running the following command:
sudo yum -y install bench
How To Uninstall bench on Fedora 36
To uninstall only the bench package we can use the following command:
sudo dnf remove bench
bench Package Contents on Fedora 36
/usr/bin/bench
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/87ccb38be7a3452addb1d249d77bf1171d81e1
/usr/share/bash-completion/completions/bench
/usr/share/doc/bench
/usr/share/doc/bench/README.md
/usr/share/licenses/bench
/usr/share/licenses/bench/LICENSE
References
Summary
In this tutorial we learn how to install bench on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).