Building the Galera wsrep Package on Ubuntu and Debian
Build the galera wsrep provider .deb package on Ubuntu and Debian, covering prerequisites, the build.sh script workflow, and the steps required to run the galera test suite afterward.
The instructions on this page were used to create the galera package on the Ubuntu and Debian Linux distributions. This package contains the wsrep provider for MariaDB Galera Cluster.
For the list of Galera wsrep provider versions and the MariaDB release each one first shipped in, see:
Galera wsrep Provider VersionsInstall prerequisites:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install check debhelper libasio-dev libboost-dev libboost-program-options-dev libssl-dev sconsClone galera.git from github.com/mariadb and checkout mariadb-3.x branch:
git init repo
cd repo
git clone -b mariadb-3.x https://github.com/MariaDB/galera.gitBuild the packages by executing
build.shunder scripts/ directory with-pswitch:
cd galera
./scripts/build.sh -pWhen finished, you will have the Debian packages for galera library and arbitrator in the parent directory.
Running galera test suite
If you want to run the galera test suite (mysql-test-run --suite=galera), you need to install the galera library as either /usr/lib/galera/libgalera_smm.so or /usr/lib64/galera/libgalera_smm.so
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

