Building the Galera wsrep Package on Fedora
The instructions on this page were used to create the galera package on the Fedora Linux distribution. This package contains the wsrep provider for MariaDB Galera Cluster.
The following table lists each version of the Galera 4 wsrep provider, and it lists which version of MariaDB each one was first released in. If you would like to install Galera 4 using yum, apt, or zypper, then the package is called
|Galera Version||Released in MariaDB Version|
|26.4.11||MariaDB 10.8.1, MariaDB 10.7.2, MariaDB 10.6.6, MariaDB 10.5.14, MariaDB 10.4.22|
|26.4.9||MariaDB 10.6.4, MariaDB 10.5.12, MariaDB 10.4.21|
|26.4.8||MariaDB 10.6.1, MariaDB 10.5.10, MariaDB 10.4.19|
|26.4.7||MariaDB 10.5.9, MariaDB 10.4.18|
|26.4.6||MariaDB 10.5.7, MariaDB 10.4.16|
|26.4.5||MariaDB 10.5.4, MariaDB 10.4.14|
|26.4.4||MariaDB 10.5.1, MariaDB 10.4.13|
|26.4.3||MariaDB 10.5.0, MariaDB 10.4.9|
The following table lists each version of the Galera 3 wsrep provider, and it lists which version of MariaDB each one was first released in. If you would like to install Galera 3 using yum, apt, or zypper, then the package is called
The following table lists each version of the Galera 2 wsrep provider, and it lists which version of MariaDB each one was first released in.
|Galera Version||Released in MariaDB Galera Cluster Version|
For convenience, a galera package containing the preferred wsrep provider is included in the MariaDB YUM and APT repositories (the preferred versions are bolded in the table above).
See also Deciphering Galera Version Numbers.
- Install the prerequisites:
sudo yum update sudo yum -y install boost-devel check-devel glibc-devel openssl-devel scons
git init repo cd repo git clone -b mariadb-3.x https://github.com/MariaDB/galera.git
- Build the packages by executing
build.shunder scripts/ directory with
cd galera ./scripts/build.sh -p
When finished, you will have an RPM package containing galera library, arbitrator and related files in the current directory. Note: The same set of instructions can be applied to other RPM based platforms to generate galera package.