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

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

## 安装

```sh
sudo av install brew:mono
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mono
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mono
```

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

### Linux

- apk (92%):

```sh
sudo apk add mono
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mono
```

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

- pacman (92%):

```sh
sudo pacman -S mono
```

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

- Debian apt (92%):

```sh
sudo apt install ca-certificates-mono
```

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

- dnf (92%):

```sh
sudo dnf install ibm-data-db2
```

  证据: Fedora Rawhide package metadata: ibm-data-db2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install mono-core
```

  证据: openSUSE Tumbleweed package metadata: mono-core from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install mono
```

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

- Scoop (92%):

```sh
scoop install main/mono
```

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

- winget (92%):

```sh
winget install --id Mono.Mono -e
```

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

## 软件包事实

- **软件包键:** brew:mono
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mono>
- **版本:** 6.14.1
- **来源摘要:** Cross platform, open source .NET development framework
- **主页:** <https://www.mono-project.com/>
- **上游文档:** <https://www.mono-project.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://dl.winehq.org/mono/sources/mono/mono-6.14.1.tar.xz>
- **最后更新:** 2026-07-29T17:23:26+01:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- al (cli)
- al2 (cli)
- aprofutil (cli)
- caspol (cli)
- cccheck (cli)
- ccrewrite (cli)
- cert-sync (cli)
- cert2spc (cli)
- certmgr (cli)
- chktrust (cli)
- crlupdate (cli)
- csc (cli)
- csharp (cli)
- csi (cli)
- disco (cli)
- dmcs (cli)
- dtd2rng (cli)
- dtd2xsd (cli)
- gacutil (cli)
- gacutil2 (cli)
- genxs (cli)
- httpcfg (cli)
- ikdasm (cli)
- ilasm (cli)
- illinkanalyzer (cli)
- installvst (cli)
- lc (cli)
- macpack (cli)
- makecert (cli)
- mconfig (cli)
- mcs (cli)
- mdassembler (cli)
- mdbrebase (cli)
- mdoc (cli)
- mdoc-assemble (cli)
- mdoc-export-html (cli)
- mdoc-export-msxdoc (cli)
- mdoc-update (cli)
- mdoc-validate (cli)
- mdvalidater (cli)
- mkbundle (cli)
- mod (cli)
- mono (cli)
- mono-api-html (cli)
- mono-api-info (cli)
- mono-cil-strip (cli)
- mono-configuration-crypto (cli)
- mono-find-provides (cli)
- mono-find-requires (cli)
- mono-hang-watchdog (cli)
- mono-heapviz (cli)
- mono-package-runtime (cli)
- mono-service (cli)
- mono-service2 (cli)
- mono-sgen (cli)
- mono-shlib-cop (cli)
- mono-symbolicate (cli)
- mono-test-install (cli)
- mono-xmltool (cli)
- monodis (cli)
- monodocer (cli)
- monodocs2html (cli)
- monodocs2slashdoc (cli)
- monolinker (cli)
- monop (cli)
- monop2 (cli)
- mozroots (cli)
- mprof-report (cli)
- pdb2mdb (cli)
- pedump (cli)
- permview (cli)
- peverify (cli)
- resgen (cli)
- resgen2 (cli)
- secutil (cli)
- setreg (cli)
- sgen (cli)
- sgen-grep-binprot (cli)
- signcode (cli)
- sn (cli)
- soapsuds (cli)
- sqlmetal (cli)
- sqlsharp (cli)
- svcutil (cli)
- vbc (cli)
- wsdl (cli)
- wsdl2 (cli)
- xbuild (cli)
- xsd (cli)
- al (别名)
- al2 (别名)
- aprofutil (别名)
- caspol (别名)
- cccheck (别名)
- ccrewrite (别名)
- cert-sync (别名)
- cert2spc (别名)
- certmgr (别名)
- chktrust (别名)
- crlupdate (别名)
- csc (别名)
- csharp (别名)
- csi (别名)
- disco (别名)
- dmcs (别名)
- dtd2rng (别名)
- dtd2xsd (别名)
- gacutil (别名)
- gacutil2 (别名)
- genxs (别名)
- httpcfg (别名)
- ikdasm (别名)
- ilasm (别名)
- illinkanalyzer (别名)
- installvst (别名)
- lc (别名)
- macpack (别名)
- makecert (别名)
- mconfig (别名)
- mcs (别名)
- mdassembler (别名)
- mdbrebase (别名)
- mdoc (别名)
- mdoc-assemble (别名)
- mdoc-export-html (别名)
- mdoc-export-msxdoc (别名)
- mdoc-update (别名)
- mdoc-validate (别名)
- mdvalidater (别名)
- mkbundle (别名)
- mod (别名)
- mono (别名)
- mono-api-html (别名)
- mono-api-info (别名)
- mono-cil-strip (别名)
- mono-configuration-crypto (别名)
- mono-find-provides (别名)
- mono-find-requires (别名)
- mono-hang-watchdog (别名)
- mono-heapviz (别名)
- mono-package-runtime (别名)
- mono-service (别名)
- mono-service2 (别名)
- mono-sgen (别名)
- mono-shlib-cop (别名)
- mono-symbolicate (别名)
- mono-test-install (别名)
- mono-xmltool (别名)
- monodis (别名)
- monodocer (别名)
- monodocs2html (别名)
- monodocs2slashdoc (别名)
- monolinker (别名)
- monop (别名)
- monop2 (别名)
- mozroots (别名)
- mprof-report (别名)
- pdb2mdb (别名)
- pedump (别名)
- permview (别名)
- peverify (别名)
- resgen (别名)
- resgen2 (别名)
- secutil (别名)
- setreg (别名)
- sgen (别名)
- sgen-grep-binprot (别名)
- signcode (别名)
- sn (别名)
- soapsuds (别名)
- sqlmetal (别名)
- sqlsharp (别名)
- svcutil (别名)
- vbc (别名)
- wsdl (别名)
- wsdl2 (别名)
- xbuild (别名)
- xsd (别名)

## 依赖

- python@3.14

## 构建依赖

- autoconf
- automake
- cmake
- libtool
- llvm
- pkgconf

## macOS 提供的库

- krb5

## 安装行为

- post-install 钩子: 未定义
- 注意事项: To use the assemblies from other formulae you need to set: export MONO_GAC_PREFIX="$HOMEBREW_PREFIX"
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.14.1
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://www.mono-project.com/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Mono is the long-running open-source implementation of the .NET runtime and class-library stack for non-Windows and embedded platforms. The project was launched by Ximian in 2001 around Miguel de Icaza's effort to bring the Common Language Infrastructure and C# model to Linux; Mono's own early-history note says the team planned the July 19, 2001 launch at the O'Reilly conference and shipped early metadata, compiler, and class-library pieces.

### 项目历史

The first development years were spent making the runtime, JIT, C# compiler, and class libraries self-host. Mono's history records milestones such as the runtime running Hello World in August 2001, the C# compiler compiling its first program in September 2001, compiler self-hosting work in 2002, and Mono 1.0 on June 30, 2004. The About page summarizes the architecture as an ECMA C# and Common Language Infrastructure implementation with a runtime, JIT, AOT compiler, garbage collector, loader, interoperability pieces, and .NET-compatible class libraries.

### 采用历史

The stewardship story mirrors the commercial history around cross-platform .NET. Mono was supported by Novell after its Ximian acquisition, then by Xamarin, and then by Microsoft after the 2016 Xamarin acquisition. Microsoft's acquisition announcement emphasized Xamarin's C# mobile tooling for iOS, Android, and Windows and cited more than 1.3 million Xamarin developers and more than 15,000 customers. Mono joined the .NET Foundation in 2016, and the Mono homepage says WineHQ took over stewardship of the upstream Mono Project in 2024 while Microsoft moved active workloads to a modern Mono runtime fork in dotnet/runtime.

### 使用方式

In package managers, Mono is both a runtime and a developer toolchain: users install it to run .NET Framework-compatible applications outside Windows, compile C# code, host libraries that expect the classic Mono stack, or support older Xamarin/Unity-era workflows. Its importance is historical as much as practical: it proved that .NET could be portable years before cross-platform .NET became Microsoft's default story.

### 来源

- <https://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquire-xamarin-and-empower-more-developers-to-build-apps-on-any-device/>
- <https://www.mono-project.com/>
- <https://www.mono-project.com/archived/mailpostearlystory/>
- <https://www.mono-project.com/docs/about-mono/>
- <https://www.mono-project.com/docs/about-mono/history/>
- <https://www.mono-project.com/docs/about-mono/releases/>


## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mono
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** chicken, pedump, xsd
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - ca-certificates-mono - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: ca-certificates-mono from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Common CA certificates (Mono keystore) | http://www.mono-project.com/
- Debian apt - libmono-2.0-1 - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-2.0-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono JIT library (Default version) | http://www.mono-project.com/
- Debian apt - libmono-2.0-dev - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-2.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono JIT library - Development files (Default version) | http://www.mono-project.com/
- Debian apt - libmono-accessibility4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-accessibility4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono Accessibility library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-btls-interface4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-btls-interface4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono Mono.Btls.Interface library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-cairo4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-cairo4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono Cairo library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-cecil-private-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-cecil-private-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono.Cecil library | http://www.mono-project.com/
- Debian apt - libmono-cil-dev - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-cil-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono Base Class Libraries (BCL) - Development files | http://www.mono-project.com/
- Debian apt - libmono-codecontracts4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-codecontracts4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono.CodeContracts library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-compilerservices-symbolwriter4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-compilerservices-symbolwriter4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono.CompilerServices.SymbolWriter library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-corlib4.5-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-corlib4.5-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono core library (for CLI 4.5) | http://www.mono-project.com/
- Debian apt - libmono-corlib4.5-dll - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-corlib4.5-dll from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono core library (for CLI 4.5) - stand-alone package | http://www.mono-project.com/
- Debian apt - libmono-cscompmgd0.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-cscompmgd0.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono cscompmgd library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-csharp4.0c-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-csharp4.0c-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono.CSharp library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-custommarshalers4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-custommarshalers4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono CustomMarshalers library (for CLI 4.0) | http://www.mono-project.com/
- Debian apt - libmono-data-tds4.0-cil - 6.12.0.199+dfsg-6: normalized package name match | Debian stable package indexes: libmono-data-tds4.0-cil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mono Data Library (for CLI 4.0) | http://www.mono-project.com/


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [llvm](https://pkg.so/zh-hans/brew/llvm/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [nuget](https://pkg.so/zh-hans/brew/nuget/) - Popular package that depends on this formula.
- [ckan](https://pkg.so/zh-hans/brew/ckan/) - Popular package that depends on this formula.
- [naturaldocs](https://pkg.so/zh-hans/brew/naturaldocs/) - Popular package that depends on this formula.
- [dotnet](https://pkg.so/zh-hans/brew/dotnet/) - Shares pkgdb curated category or tags: cli, dotnet, language-runtime, runtime.
- [dotnet@8](https://pkg.so/zh-hans/brew/dotnet-8/) - Shares pkgdb curated category or tags: cli, dotnet, language-runtime, runtime.
- [dotnet@9](https://pkg.so/zh-hans/brew/dotnet-9/) - Shares pkgdb curated category or tags: cli, dotnet, language-runtime, runtime.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, runtime.
- [openjdk@17](https://pkg.so/zh-hans/brew/openjdk-17/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, runtime.
- [openjdk@21](https://pkg.so/zh-hans/brew/openjdk-21/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, runtime.
- [openjdk@11](https://pkg.so/zh-hans/brew/openjdk-11/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, runtime.
- [orc](https://pkg.so/zh-hans/brew/orc/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, runtime.

## Combined YAML source

View the package source record on GitHub. [combined/mono.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mono.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
