How To Install sysbench on AlmaLinux 8
Introduction
In this tutorial we learn how to install sysbench
on AlmaLinux 8.
What is sysbench
SysBench is a modular, cross-platform and multi-threaded benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load. The idea of this benchmark suite is to quickly get an impression about system performance without setting up complex database benchmarks or even without installing a database at all. Current features allow to test the following system parameters - file I/O performance - scheduler performance - memory allocation and transfer speed - POSIX threads implementation performance - database server performance (OLTP benchmark) Primarily written for MySQL server benchmarking, SysBench will be further extended to support multiple database backends, distributed benchmarks and third-party plug-in modules.
We can use yum
or dnf
to install sysbench
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sysbench.
Install sysbench on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install sysbench
using dnf
by running the following command:
sudo dnf -y install sysbench
Install sysbench on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install sysbench
using yum
by running the following command:
sudo yum -y install sysbench
How To Uninstall sysbench on AlmaLinux 8
To uninstall only the sysbench
package we can use the following command:
sudo dnf remove sysbench
References
Summary
In this tutorial we learn how to install sysbench
on AlmaLinux 8 using yum and dnf.