# 使用 Homebrew, apt, chocolatey 安装 dotnet@8

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

## 安装

```sh
sudo av install brew:dotnet@8
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dotnet@8
```

  证据: local Homebrew formula metadata

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install dotnet8
```

  证据: Ubuntu 24.04 LTS package indexes: dotnet8 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

### Windows

- Chocolatey (92%):

```sh
choco install dotnet
```

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

## 软件包事实

- **软件包键:** brew:dotnet@8
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dotnet@8>
- **版本:** 8.0.129
- **来源摘要:** .NET Core
- **主页:** <https://dotnet.microsoft.com/>
- **仓库:** <https://github.com/dotnet/dotnet>
- **上游文档:** <https://dotnet.microsoft.com/>
- **许可证:** MIT
- **源码归档:** <https://github.com/dotnet/dotnet/archive/refs/tags/v8.0.129.tar.gz>
- **最后更新:** 2026-07-15T02:02:38Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 依赖

- icu4c@78
- openssl@3

## 构建依赖

- cmake
- grep
- llvm@20
- pkgconf

## macOS 提供的库

- krb5

## 安装行为

- post-install 钩子: 未定义
- 注意事项: For other software to find dotnet you may need to set: export DOTNET_ROOT="$HOMEBREW_PREFIX/opt/dotnet@8/libexec"
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 8.0.129
- 管理器更新时间: 2026-07-15
- 本地数据: OK
- 上游仓库: https://github.com/dotnet/dotnet
- 检测到的最新版本: v8.0.129 (当前)
## 项目历史与用法

.NET 8 is the November 2023 Long Term Support release of modern .NET. As a Homebrew versioned formula, dotnet@8 is useful for developers and CI systems that need to stay on the .NET 8 support window instead of tracking newer SDK lines.

### 项目历史

Microsoft's release metadata lists .NET 8.0 as released on November 14, 2023, with LTS servicing through November 10, 2026. The release became the stable baseline for organizations moving from .NET 6 or .NET 7 while wanting a longer support period.

### 采用历史

Versioned packaging reflects .NET's support policy in package-manager form. Keeping dotnet@8 installable alongside newer SDKs lets maintainers reproduce builds, keep LTS applications on their target framework, and avoid surprise major-version movement on developer machines.

### 使用方式

Developers install dotnet@8 to build, test, run, and publish applications targeting net8.0, ASP.NET Core 8, EF Core 8, and related SDK workloads. The CLI behavior is the standard `dotnet` workflow, with SDK selection typically controlled by project target frameworks or global.json.

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

dotnet@8 is a support-lifecycle package: its value is not a different executable name but a pinned major SDK/runtime family. That makes it important for reproducible build environments and for package catalogs that model multiple supported versions of the same runtime.

### 时间线

- 2023: .NET 8.0 Preview 1 appeared in February.
- 2023: .NET 8.0 was released on November 14 as an LTS release.
- 2026: Microsoft lists November 10, 2026 as the end of support for .NET 8.

### Related projects

- .NET
- ASP.NET Core 8
- Entity Framework Core 8
- C# 12
- NuGet

### 来源

- <https://github.com/dotnet/core/blob/main/release-notes/8.0/README.md>
- <https://github.com/dotnet/core/blob/main/releases.md>
- <https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-8/overview>
- <https://formulae.brew.sh/formula/dotnet@8>


## 安全说明

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


## 源数据库详情

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

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

- Ubuntu apt - aspnetcore-runtime-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: aspnetcore-runtime-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | ASP.NET Core runtime | https://dot.net
- Ubuntu apt - aspnetcore-runtime-dbg-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: aspnetcore-runtime-dbg-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ASP.NET Runtime debug symbols. | https://dot.net
- Ubuntu apt - aspnetcore-targeting-pack-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: aspnetcore-targeting-pack-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Internal - targeting pack for Microsoft.AspNetCore.App 8.0 | https://dot.net
- Ubuntu apt - dotnet-apphost-pack-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-apphost-pack-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Internal - targeting pack for Microsoft.NETCore.App 8.0 | https://dot.net
- Ubuntu apt - dotnet-host-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-host-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | .NET host command line | https://dot.net
- Ubuntu apt - dotnet-hostfxr-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-hostfxr-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | .NET host resolver | https://dot.net
- Ubuntu apt - dotnet-runtime-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-runtime-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | .NET runtime | https://dot.net
- Ubuntu apt - dotnet-runtime-dbg-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-runtime-dbg-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | .NET Runtime debug symbols. | https://dot.net
- Ubuntu apt - dotnet-sdk-8.0 - 8.0.104-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-sdk-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | .NET 8.0 Software Development Kit | https://dot.net
- Ubuntu apt - dotnet-sdk-8.0-source-built-artifacts - 8.0.104-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-sdk-8.0-source-built-artifacts from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internal package for building the .NET 8.0 Software Development Kit | https://dot.net
- Ubuntu apt - dotnet-sdk-dbg-8.0 - 8.0.104-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-sdk-dbg-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | .NET SDK debug symbols. | https://dot.net
- Ubuntu apt - dotnet-targeting-pack-8.0 - 8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-targeting-pack-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Internal - targeting pack for Microsoft.NETCore.App 8.0 | https://dot.net
- Ubuntu apt - dotnet-templates-8.0 - 8.0.104-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet-templates-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | .NET 8.0 templates | https://dot.net
- Ubuntu apt - dotnet8 - 8.0.104-8.0.4-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: dotnet8 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | .NET CLI tools and runtime | https://dot.net
- Ubuntu apt - netstandard-targeting-pack-2.1-8.0 - 8.0.104-0ubuntu1: package manager index match | Ubuntu 24.04 LTS package indexes: netstandard-targeting-pack-2.1-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Internal - targeting pack for NETStandard.Library 2.1 | https://dot.net
- Chocolatey - dotnet: versioned package alias match | Chocolatey community package catalog: dotnet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - 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@20](https://pkg.so/zh-hans/brew/llvm-20/) - Build dependency declared by Homebrew.
- [grep](https://pkg.so/zh-hans/brew/grep/) - Build dependency declared by Homebrew.
- [dafny](https://pkg.so/zh-hans/brew/dafny/) - Popular package that depends on this formula.
- [sbom-tool](https://pkg.so/zh-hans/brew/sbom-tool/) - Popular package that depends on this formula.
- [dotnet](https://pkg.so/zh-hans/brew/dotnet/) - Package name indicates the same formula family.
- [dotnet@9](https://pkg.so/zh-hans/brew/dotnet-9/) - Package name indicates the same formula family.
- [mono](https://pkg.so/zh-hans/brew/mono/) - Shares pkgdb curated category or tags: cli, dotnet, language-runtime, runtime.
- [node](https://pkg.so/zh-hans/brew/node/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime.
- [python@3.13](https://pkg.so/zh-hans/brew/python-3-13/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime.
- [python@3.12](https://pkg.so/zh-hans/brew/python-3-12/) - Shares pkgdb curated category or tags: cli, language-runtime, runtime.
- [php](https://pkg.so/zh-hans/brew/php/) - Local package facts share a topical domain. Shared terms: cli, icu4c, icu4c-78, language, language-runtime.

## Combined YAML source

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


## 来源

- pkg.so package database
- 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
