The mariadb_es_repo_setup script configures APT/YUM/ZYpp to install software from the MariaDB Enterprise Repository on supported Linux operating systems.

To configure APT/YUM/ZYpp to install software from the MariaDB Community Repository, see mariadb_repo_setup instead.


The mariadb_es_repo_setup script is available for download from MariaDB Corporation:

$ wget

$ echo "cfcd35671125d657a212d92b93be7b1f4ad2fda58dfa8b5ab4b601bf3afa4eae  mariadb_es_repo_setup" \
       | sha256sum -c -

$ chmod +x mariadb_es_repo_setup

Customer Download Token

The mariadb_es_repo_setup script requires a Customer Download Token, which is set using the --token option:

$ sudo ./mariadb_es_repo_setup --token="CUSTOMER_DOWNLOAD_TOKEN" --apply


For information on releases, see "Release Notes for mariadb_es_repo_setup".


$ sudo ./mariadb_es_repo_setup [ OPTIONS .. ]

For additional information, see "Configure the MariaDB Enterprise Repository".

mariadb_es_repo_setup Options




Write OS's repository configuration files. This will also import GPG keys and update the package cache on platforms where that behavior exists.


Override detection of CPU architecture. Acceptable values are 'x86_64', 'aarch64', 'amd64', & 'arm64'.


Display this help and exit.


Include the 'Unsupported' repository.


Override the default MariaDB MaxScale version. By default, the script will use 'latest'.


Override the default MariaDB Server version. By default, the script will use '10.6'.


Override detection of OS type. Acceptable values include 'debian', 'ubuntu', 'rhel', and 'sles'.


Override detection of OS version. Acceptable values depend on the OS type you specify.


Skip tests for required prerequisites.


Skip importing GPG signing keys.


Skip the 'MaxScale' repository.


Skip the 'MariaDB Enterprise Server' repository.


Skip the 'Tools' repository.


Skip the 'Xpand' instructions. RHEL/CentOS 7 only.


Your Customer Download Token (required). Use the MariaDB Customer Portal to find your token.


Display [info] messages.


Output the script version and exit.