# 使用 Homebrew, MacPorts, apk, chocolatey, dnf, Nix, pacman, zypper, apt, scoop, winget 安装 mariadb@10.6

查看 mariadb@10.6 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mariadb@10.6
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mariadb@10.6
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mariadb-10.6
```

  证据: MacPorts ports tree: databases/mariadb-10.6/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mariadb
```

  证据: Alpine Linux edge package indexes: mariadb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install mariadb
```

  证据: Fedora Rawhide package metadata: mariadb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mariadb
```

  证据: nixpkgs package indexes: mariadb from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S mariadb
```

  证据: Arch Linux sync databases: mariadb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mariadb
```

  证据: openSUSE Tumbleweed package metadata: mariadb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libmariadb-dev
```

  证据: Debian stable package indexes: libmariadb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Chocolatey (92%):

```sh
choco install mariadb
```

  证据: Chocolatey community package catalog: mariadb from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','lunacy'

- Scoop (92%):

```sh
scoop install main/mariadb
```

  证据: Scoop official bucket manifest trees: bucket/mariadb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id MariaDB.Server -e
```

  证据: Windows Package Manager source index: MariaDB.Server from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:mariadb@10.6
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mariadb@10.6>
- **版本:** 10.6.27
- **来源摘要:** Drop-in replacement for MySQL
- **主页:** <https://mariadb.org/>
- **仓库:** <https://github.com/MariaDB/server>
- **上游文档:** <https://mariadb.com/docs/server>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://archive.mariadb.org/mariadb-10.6.27/source/mariadb-10.6.27.tar.gz>
- **最后更新:** 2026-07-05T20:41:59+01:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 依赖

- groonga
- lz4
- lzo
- openssl@3
- pcre2
- xz
- zstd

## 构建依赖

- bison
- cmake
- openjdk
- pkgconf

## macOS 提供的库

- bzip2
- krb5
- libedit
- libxcrypt
- libxml2
- ncurses
- xz

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: A "/etc/my.cnf" from another install may interfere with a Homebrew-built server starting up correctly. MySQL is configured to only allow connections from localhost by default
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 10.6.27
- 管理器更新时间: 2026-07-05
- 本地数据: OK
- 上游仓库: https://mariadb.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

MariaDB 10.6 is an older long-term MariaDB Server branch whose Homebrew formula is valuable for compatibility testing and legacy production parity. It is near the end of its community maintenance lifetime as of July 2026, so users pinning it should plan upgrades.

### 项目历史

MariaDB began in 2009 as a community fork of MySQL and grew into a MySQL-compatible server with its own public source tree and release policy. MariaDB 10.6 was part of the mature 10.x series, following 10.5 and preceding later LTS branches such as 10.11.

MariaDB 10.6.4 release notes identify 6 August 2021 as the Stable GA date for the 10.6 series and describe it as an evolution of MariaDB 10.5 with several new features. MariaDB Foundation later announced that Community Server 10.6 would reach end of life on 6 July 2026.

### 采用历史

The 10.6 branch became a common target for organizations that standardized on MariaDB before 10.11 and 11.x. Its long maintenance window made it a practical server line for applications that wanted MySQL compatibility without chasing rolling releases.

By 2026, the package-history story is mostly compatibility and migration. MariaDB Foundation's EOL notice says maintenance releases stop after 6 July 2026, which makes mariadb@10.6 useful for matching old deployments but less suitable as a new default.

### 使用方式

Use mariadb@10.6 when tests, dumps, replication, plugins, or production parity require the 10.6 series specifically. It should not be chosen casually for new installations when newer maintained LTS branches are available.

Configuration uses MariaDB's standard option-file hierarchy. MariaDB docs list Unix-like my.cnf locations and Windows my.ini/my.cnf locations, and client options may avoid insecure command-line passwords by using option files.

### 为什么软件包爱好者会关心

The versioned Homebrew formula preserves an old server line for projects with pinned database compatibility. That is useful for reproducing customer environments, testing migrations, or maintaining CI jobs before a planned jump to 10.11, 11.4, or 11.8.

The catch is support lifetime: as 10.6 reaches EOL, the formula's value shifts from recommended deployment target to compatibility artifact. Package users should treat it as a bridge, not a forever pin.

### 时间线

- 2009: MariaDB began as a community fork of MySQL.
- 2021: MariaDB 10.6.4 became Stable GA on 6 August 2021.
- 2023: MariaDB 10.11 became the later 10.x LTS line.
- 2026: MariaDB Foundation listed 10.6 among current LTS releases before EOL.
- 2026: MariaDB Community Server 10.6 reaches end of life on 6 July 2026.

### Related projects

- MariaDB 10.11 is the later 10.x LTS branch and common upgrade target.
- MariaDB 11.4 and 11.8 are newer LTS branches for users moving beyond 10.x.
- MariaDB Connector/C supplies client-library compatibility for applications connecting to 10.6.

### 来源

- <https://mariadb.com/docs/release-notes/community-server/10.6/10.6.4>
- <https://mariadb.com/docs/server/clients-and-utilities/server-client-software/download/getting-the-mariadb-source-code>
- <https://mariadb.com/docs/server/server-management/install-and-upgrade-mariadb/configuring-mariadb/configuring-mariadb-with-option-files>
- <https://mariadb.org/about/>
- <https://mariadb.org/download/>
- <https://mariadb.org/mariadb-server-10-6-reaches-end-of-life-on-july-6th/>
- <https://mariadb.org/mariadb-server-turns-fifteen/>


## 安全说明

没有找到 mariadb@10.6 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/my.cnf, /etc/mysql/my.cnf, $MARIADB_HOME/my.cnf, $MYSQL_HOME/my.cnf, ~/.my.cnf
- Windows: System Windows Directory\my.ini, System Windows Directory\my.cnf, Windows Directory\my.ini, Windows Directory\my.cnf, C:\my.ini, C:\my.cnf, installdir\my.ini, installdir\my.cnf, installdir\data\my.ini, installdir\data\my.cnf, %MARIADB_HOME%\my.ini, %MARIADB_HOME%\my.cnf, %MYSQL_HOME%\my.ini, %MYSQL_HOME%\my.cnf

## Credential files

- Unix: /etc/my.cnf, /etc/mysql/my.cnf, $MARIADB_HOME/my.cnf, $MYSQL_HOME/my.cnf, ~/.my.cnf
- Windows: System Windows Directory\my.ini, System Windows Directory\my.cnf, Windows Directory\my.ini, Windows Directory\my.cnf, C:\my.ini, C:\my.cnf, installdir\my.ini, installdir\my.cnf, installdir\data\my.ini, installdir\data\my.cnf, %MARIADB_HOME%\my.ini, %MARIADB_HOME%\my.cnf, %MYSQL_HOME%\my.ini, %MYSQL_HOME%\my.cnf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mariadb@10.6
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## 其他软件包管理器记录

- MacPorts - mariadb-10.6: normalized package name match | MacPorts ports tree: databases/mariadb-10.6/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - libmariadb-dev - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database development files | https://mariadb.org/
- Debian apt - libmariadb-dev-compat - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadb-dev-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB Connector/C, compatibility symlinks | https://mariadb.org/
- Debian apt - libmariadb3 - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadb3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database client library | https://mariadb.org/
- Debian apt - libmariadbd-dev - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadbd-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB embedded database, development files | https://mariadb.org/
- Debian apt - libmariadbd19t64 - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: libmariadbd19t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB embedded database, shared library | https://mariadb.org/
- Debian apt - mariadb-backup - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-backup from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Backup tool for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-client - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database client binaries | https://mariadb.org/
- Debian apt - mariadb-client-compat - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-client-compat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MySQL compatibility links to mariadb-client binaries/scripts | https://mariadb.org/
- Debian apt - mariadb-client-core - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-client-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database core client binaries | https://mariadb.org/
- Debian apt - mariadb-common - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MariaDB database common config files (/etc/mysql/mariadb.conf.d/) | https://mariadb.org/
- Debian apt - mariadb-plugin-connect - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-connect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect storage engine for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-plugin-connect-jdbc - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-connect-jdbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect storage engine JDBC interface for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-plugin-cracklib-password-check - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-cracklib-password-check from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CrackLib Password Validation Plugin for MariaDB server | https://mariadb.org/
- Debian apt - mariadb-plugin-gssapi-client - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-gssapi-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GSSAPI authentication plugin for MariaDB client | https://mariadb.org/
- Debian apt - mariadb-plugin-gssapi-server - 1:11.8.6-0+deb13u1: versioned package alias match | Debian stable package indexes: mariadb-plugin-gssapi-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GSSAPI authentication plugin for MariaDB server | https://mariadb.org/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [groonga](https://www.automicvault.com/zh-hans/pkg/brew/groonga/) - Runtime dependency declared by Homebrew.
- [lz4](https://www.automicvault.com/zh-hans/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/zh-hans/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/zh-hans/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/zh-hans/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [bison](https://www.automicvault.com/zh-hans/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [openjdk](https://www.automicvault.com/zh-hans/pkg/brew/openjdk/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mariadb](https://www.automicvault.com/zh-hans/pkg/brew/mariadb/) - Package name indicates the same formula family.
- [mariadb@10.11](https://www.automicvault.com/zh-hans/pkg/brew/mariadb-10-11/) - Package name indicates the same formula family.
- [mariadb@11.4](https://www.automicvault.com/zh-hans/pkg/brew/mariadb-11-4/) - Package name indicates the same formula family.
- [mariadb@11.8](https://www.automicvault.com/zh-hans/pkg/brew/mariadb-11-8/) - Package name indicates the same formula family.
- [monetdb](https://www.automicvault.com/zh-hans/pkg/brew/monetdb/) - Shares av.db curated category or tags: cli, data, database, rdbms, sql.
- [mysql](https://www.automicvault.com/zh-hans/pkg/brew/mysql/) - Shares av.db curated category or tags: cli, data, database, rdbms, sql.

## Combined YAML source

View the package source record on GitHub. [combined/mariadb@10.6.yml](https://github.com/automic-vault/db/blob/main/combined/mariadb@10.6.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
