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-4.

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 galera.

Galera Version
Released in MariaDB Version

25.3.21

N/A

25.3.16

N/A

25.3.11

N/A

25.3.10

N/A

25.3.8

N/A

25.3.7

N/A

25.3.6

N/A

25.3.4

N/A

25.3.3

N/A

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

25.2.8

23.2.7

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.

  1. Install the prerequisites:

sudo yum update
sudo yum -y install boost-devel check-devel glibc-devel openssl-devel scons
  1. Clone galera.git from github.com/mariadb and checkout mariadb-3.x banch:

git init repo
cd repo
git clone -b mariadb-3.x https://github.com/MariaDB/galera.git
  1. Build the packages by executing build.sh under scripts/ directory with -p switch:

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.

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?