> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/galera-cluster/galera-management/installation-and-deployment/advanced-installation-from-source/building-the-galera-wsrep-package-on-fedora.md).

# 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](/docs/galera-cluster/readme/mariadb-galera-cluster-usage-guide.md).

For the list of Galera wsrep provider versions and the MariaDB release each one first shipped in, see:

{% content-ref url="/pages/F4OWdwWW2U22exzcac5e" %}
[Galera wsrep Provider Versions](/docs/galera-cluster/reference/galera-wsrep-provider-versions.md)
{% endcontent-ref %}

1. Install the prerequisites:

```
sudo yum update
sudo yum -y install boost-devel check-devel glibc-devel openssl-devel scons
```

2. Clone [galera.git](https://github.com/mariadb/galera) from [github.com/mariadb](https://github.com/mariadb) and checkout the mariadb-3.x branch:

```
git init repo
cd repo
git clone -b mariadb-3.x https://github.com/MariaDB/galera.git
```

3. Build the packages by executing under the`build.sh` scripts/ directory with the`-p` switch:

```
cd galera
./scripts/build.sh -p
```

When finished, you will have an RPM package containing the 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 the Galera package.

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
