How To Install galera on Rocky Linux 8
Introduction
In this tutorial we learn how to install galera
on Rocky Linux 8.
What is galera
Galera is a fast synchronous multi-master wsrep provider (replication engine) for transactional databases and similar applications. For more information about wsrep API see http replication engine see http
We can use yum
or dnf
to install galera
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install galera.
Install galera 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 galera
using dnf
by running the following command:
sudo dnf -y install galera
Install galera 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 galera
using yum
by running the following command:
sudo yum -y install galera
How To Uninstall galera on Rocky Linux 8
To uninstall only the galera
package we can use the following command:
sudo dnf remove galera
galera Package Contents on Rocky Linux 8
/etc/sysconfig/garb
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/3ce03f93f48a1dddda18057ed0603c1e15d733
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/79c20655d683e3dedb6645e7631fc2ec1e1c0b
/usr/lib/systemd/system/garbd.service
/usr/lib64/galera
/usr/lib64/galera/libgalera_smm.so
/usr/sbin/garbd
/usr/sbin/garbd-wrapper
/usr/share/doc/galera
/usr/share/doc/galera/COPYING
/usr/share/doc/galera/LICENSE.asio
/usr/share/doc/galera/LICENSE.chromium
/usr/share/doc/galera/README
/usr/share/doc/galera/README-MySQL
References
Summary
In this tutorial we learn how to install galera
on Rocky Linux 8 using yum and dnf.