mariadb_repo_setup for MariaDB Community Server
This page is part of MariaDB's Documentation.
The parent of this page is: Command-Line Interfaces for MariaDB Repository Scripts
Topics on this page:
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:
$ curl -LSsO https://r.mariadb.com/downloads/mariadb_repo_setup
$ echo "6083ef1974d11f49d42ae668fb9d513f7dc2c6276ffa47caed488c4b47268593 mariadb_repo_setup" \
| sha256sum -c -
$ chmod +x mariadb_repo_setup
Usage
$ sudo ./mariadb_repo_setup [ OPTIONS .. ]
For additional information, see "
".mariadb_repo_setup Options
Option | Description |
---|---|
Override detection of CPU architecture. Acceptable values are 'x86_ | |
Display this help and exit. | |
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 'mariadb-10.9'. | |
Override detection of OS type. Acceptable values include 'debian', 'ubuntu', 'rhel', & 'sles'. | |
Override detection of OS version. Acceptable values depend on the OS type you specify. | |
Skip tests for required prerequisites for this script. | |
Skip tests for MariaDB versions being past their EOL date | |
Skip importing GPG signing keys. | |
Skip the 'MaxScale' repository. | |
Skip tests for operating system versions being past EOL date | |
Skip the 'MariaDB Server' repository. | |
Skip the 'Tools' repository. | |
Skip verification of MariaDB Server versions. Use with caution as this can lead to an invalid repository configuration file being created. | |
Output the script version and exit. | |
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. |