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|
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 the versions of the Galera wsrep provider in the different MariaDB Galera Cluster releases.
|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.