mariadb_repo_setup

Overview

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

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

Installation

The mariadb_repo_setup script is available for download from MariaDB Corporation:

$ wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup

$ echo "367a80b01083c34899958cdd62525104a3de6069161d309039e84048d89ee98b  mariadb_repo_setup" \
       | sha256sum -c -

$ chmod +x mariadb_repo_setup

Usage

$ sudo ./mariadb_repo_setup [ OPTIONS .. ]

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

mariadb_repo_setup Options

Option

Description

--arch

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

--help

Display this help and exit.

--mariadb-maxscale-version

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

--mariadb-server-version

Override the default MariaDB Server version. By default, the script will use 'mariadb-10.9'.

--os-type

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

--os-version

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

--skip-check-installed

Skip tests for required prerequisites for this script.

--skip-eol-check

Skip tests for versions being past their EOL date

--skip-key-import

Skip importing GPG signing keys.

--skip-maxscale

Skip the 'MaxScale' repository.

--skip-os-eol-check

Skip tests for operating system versions being past EOL date

--skip-server

Skip the 'MariaDB Server' repository.

--skip-tools

Skip the 'Tools' repository.

--skip-verify

Skip verification of MariaDB Server versions. Use with caution as this can lead to an invalid repository configuration file being created.

--version

Output the script version and exit.

--write-to-stdout

Write output to stdout instead of to the OS's repository configuration. This will also skip importing GPG keys and updating the package cache on platforms where that behavior exists.