How To Install mariadb-server-utils on Rocky Linux 8

In this tutorial we learn how to install mariadb-server-utils on Rocky Linux 8. mariadb-server-utils is Non-essential server utilities for MariaDB/MySQL applications

Introduction

In this tutorial we learn how to install mariadb-server-utils on Rocky Linux 8.

What is mariadb-server-utils

This package contains all non-essential server utilities and scripts for managing databases. It also contains all utilities requiring Perl and it is the only MariaDB sub-package, except test subpackage, that depends on Perl.

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

Install mariadb-server-utils 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 mariadb-server-utils using dnf by running the following command:

sudo dnf -y install mariadb-server-utils

Install mariadb-server-utils 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 mariadb-server-utils using yum by running the following command:

sudo yum -y install mariadb-server-utils

How To Uninstall mariadb-server-utils on Rocky Linux 8

To uninstall only the mariadb-server-utils package we can use the following command:

sudo dnf remove mariadb-server-utils

mariadb-server-utils Package Contents on Rocky Linux 8

/usr/bin/mysql_convert_table_format
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_setpermission
/usr/bin/mysql_upgrade
/usr/bin/mysqld_multi
/usr/bin/mysqldumpslow
/usr/bin/mysqlhotcopy
/usr/bin/perror
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/522d51eaa06d33b49760d8ae6a1a69a022f9a7
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/270fcfb8ff58f0d22e2c6a3ba5bb0b821efb63
/usr/share/man/man1/mysql_convert_table_format.1.gz
/usr/share/man/man1/mysql_fix_extensions.1.gz
/usr/share/man/man1/mysql_setpermission.1.gz
/usr/share/man/man1/mysql_upgrade.1.gz
/usr/share/man/man1/mysqld_multi.1.gz
/usr/share/man/man1/mysqldumpslow.1.gz
/usr/share/man/man1/mysqlhotcopy.1.gz
/usr/share/man/man1/perror.1.gz

References

Summary

In this tutorial we learn how to install mariadb-server-utils on Rocky Linux 8 using yum and dnf.