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.

Galera VersionReleased in MariaDB Version
26.4.3MariaDB 10.4.9
26.4.2MariaDB 10.4.4
26.4.1MariaDB 10.4.3
26.4.0MariaDB 10.4.2

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 VersionReleased in MariaDB Version
25.3.28MariaDB 10.3.19, MariaDB 10.2.28, MariaDB 10.1.42
25.3.27MariaDB 10.3.18, MariaDB 10.2.27
25.3.26MariaDB 10.3.14, MariaDB 10.2.23, MariaDB 10.1.39
25.3.25MariaDB 10.3.12, MariaDB 10.2.20, MariaDB 10.1.38, MariaDB Galera Cluster 10.0.38, MariaDB Galera Cluster 5.5.63
25.3.24MariaDB 10.4.0, MariaDB 10.3.10, MariaDB 10.2.18, MariaDB 10.1.37, MariaDB Galera Cluster 10.0.37, MariaDB Galera Cluster 5.5.62
25.3.23MariaDB 10.3.5, MariaDB 10.2.13, MariaDB 10.1.32, MariaDB Galera Cluster 10.0.35, MariaDB Galera Cluster 5.5.60
25.3.22MariaDB 10.3.3, MariaDB 10.2.11, MariaDB 10.1.29, MariaDB Galera Cluster 10.0.33, MariaDB Galera Cluster 5.5.59
25.3.21N/A
25.3.20MariaDB 10.3.1, MariaDB 10.2.6, MariaDB 10.1.23, MariaDB Galera Cluster 10.0.31, MariaDB Galera Cluster 5.5.56
25.3.19MariaDB 10.3.0, MariaDB 10.2.3, MariaDB 10.1.20, MariaDB Galera Cluster 10.0.29, MariaDB Galera Cluster 5.5.54
25.3.18MariaDB 10.2.2, MariaDB 10.1.18, MariaDB Galera Cluster 10.0.28, MariaDB Galera Cluster 5.5.53
25.3.17MariaDB 10.1.17, MariaDB Galera Cluster 10.0.27, MariaDB Galera Cluster 5.5.51
25.3.16N/A
25.3.15MariaDB 10.2.0, MariaDB 10.1.13, MariaDB Galera Cluster 10.0.25, MariaDB Galera Cluster 5.5.49
25.3.14MariaDB 10.1.12, MariaDB Galera Cluster 10.0.24, MariaDB Galera Cluster 5.5.48
25.3.12MariaDB 10.1.11
25.3.11N/A
25.3.10N/A
25.3.9MariaDB 10.1.3, MariaDB Galera Cluster 10.0.17, MariaDB Galera Cluster 5.5.42
25.3.8N/A
25.3.7N/A
25.3.6N/A
25.3.5MariaDB 10.1.1, MariaDB Galera Cluster 10.0.10, MariaDB Galera Cluster 5.5.37
25.3.4N/A
25.3.3N/A
25.3.2MariaDB Galera Cluster 10.0.7, MariaDB Galera Cluster 5.5.35

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 VersionReleased in MariaDB Galera Cluster Version
25.2.910.0.10, 5.5.37
25.2.810.0.7, 5.5.35
23.2.75.5.34

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.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.