Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, apt, apk, chocolatey, dnf, Nix, pacman, zypper, scoop, winget 安装 llvm@16

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install llvm@16

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install llvm-16

MacPorts ports tree · lang/llvm-16/Portfile · 来源: api.github.com

Linux

Ubuntu apt已验证 · 92%
sudo apt install llvm-16

Ubuntu 24.04 LTS package indexes · llvm-16 · 来源: archive.ubuntu.com

Alpine Linux apk已验证 · 92%
sudo apk add llvm16

Alpine Linux edge package indexes · llvm16 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install llvm

Debian stable package indexes · llvm · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install llvm

Fedora Rawhide package metadata · llvm · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#llvm

nixpkgs package indexes · llvm · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S llvm

Arch Linux sync databases · llvm · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install llvm

openSUSE Tumbleweed package metadata · llvm · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install llvm

Chocolatey community package catalog · llvm · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/llvm

Scoop official bucket manifest trees · bucket/llvm.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id LLVM.LLVM -e

Windows Package Manager source index · LLVM.LLVM · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Next-gen compiler infrastructure

命令和别名

  • clang-16

历史

项目历史与用法

llvm@16 is Homebrew's versioned formula for the LLVM 16 release line, preserving the 16.x compiler, debugger, linker, and LLVM library stack for projects that need that major version.

项目历史

LLVM 16 continued the LLVM project's role as a modular infrastructure for compiler frontends, optimizers, code generators, debuggers, linkers, and development tools. The official 16.0.0 documentation and release notes cover the coordinated release of LLVM core and its subprojects.

In the opaque-pointer migration, LLVM 16 tightened the transition: the official documentation says opaque pointers were enabled by default and typed pointers were supported only on a best-effort basis and not tested. That made LLVM 16 a late migration release for projects still carrying typed-pointer assumptions.

采用历史

Package managers carried llvm@16 and llvm-16 style packages because many consumers need the new compiler and toolchain improvements without immediately accepting the next major release's removals. The input metadata shows mappings across Homebrew, MacPorts, Debian/Ubuntu, Alpine, Fedora-style clang packages, Nix, Arch-related clang packages, Scoop, winget clangd, and openSUSE.

For downstream maintainers, LLVM 16 was often a practical target for modernizing APIs while still having more compatibility surface than LLVM 17. That is why a versioned formula has value even after the unversioned llvm package moves on.

使用方式

Users install llvm@16 for clang-16, LLVM 16 headers and libraries, llvm-config, FileCheck, LLDB/LLD tools where included, MLIR tools, clangd, clang-format, clang-tidy, and the large suite of LLVM object-file and IR utilities.

It is commonly used as a pinned build dependency for language runtimes, compiler plugins, static-analysis tools, and projects whose test suites are validated against LLVM 16 behavior.

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

llvm@16 is significant as the last broad compatibility step before LLVM 17 removed typed-pointer support. In package-maintainer terms, it is a pressure-release valve: new enough to expose migration work, old enough not to remove every escape hatch.

It also shows why compilers are packaged like platforms. A major LLVM version controls not just a compiler executable but a constellation of libraries, C++ APIs, generated tables, debugger behavior, and command-line tools consumed by other packages.

时间线

  • 2000: LLVM begins as a University of Illinois compiler research project.
  • 2023-03-17: LLVM 16.0.0 is published on GitHub.
  • 2023-04-05: LLVM 16.0.1 is published.
  • 2023: LLVM 16 keeps opaque pointers enabled by default and supports typed pointers only on a best-effort, untested basis.
  • 2023-2024: Package managers keep llvm-16 packages for downstream projects not ready for LLVM 17 removals.

Related projects

  • LLVM 16 ships with Clang 16, LLDB 16, LLD 16, libc++, compiler-rt, MLIR, OpenMP, and related LLVM tools.
  • It is closely related to llvm@15 as the prior opaque-pointer default release and llvm@17 as the release line that removed typed-pointer support.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clang-16cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本16.0.6
管理器更新时间2026-07-03
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/llvm/llvm-project

安装元数据

软件包元数据

软件包键brew:llvm@16
版本16.0.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/llvm@16
主页https://llvm.org/
仓库https://github.com/llvm/llvm-project
上游文档https://llvm.org/docs
许可证Apache-2.0 WITH LLVM-exception
源码归档https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/llvm-project-16.0.6.src.tar.xz
最后更新2026-07-03T15:55:47-04:00
Pulseupdated
依赖python@3.12, xz, zstd
构建依赖cmake, ninja, swig
macOS 提供的库libedit, libffi, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项To use the bundled libc++ please add the following LDFLAGS: LDFLAGS="-L$HOMEBREW_PREFIX/opt/llvm@16/lib/c++ -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm@16/lib/c++"

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namellvm@16
Version Scheme0
Revision1
Requirements
  • maximum_macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Ubuntu apt95%

llvm-16 1:16.0.6-23ubuntu4

Modular compiler and toolchain technologies

https://www.llvm.org/

sudo apt install llvm-16
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-16
  • 11 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Llvm 16
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: llvm-16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

llvm-16

sudo port install llvm-16
  • normalized package name match
  • 匹配方式:Llvm 16
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/llvm-16/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Ubuntu apt92%

clang-16 1:16.0.6-23ubuntu4

C, C++ and Objective-C compiler

https://www.llvm.org/

sudo apt install clang-16
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-toolchain-16
  • 12 依赖
  • 3 提供
  • 4 可选依赖
  • installed executable or alias match
  • 匹配方式:Clang 16
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clang-16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

llvm16 16.0.6-r14

Low Level Virtual Machine compiler system, version 16

https://llvm.org/

sudo apk add llvm16
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-dev 16.0.6-r14

Low Level Virtual Machine compiler system, version 16 (development files)

https://llvm.org/

sudo apk add llvm16-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-libs 16.0.6-r14

LLVM 16 runtime library

https://llvm.org/

sudo apk add llvm16-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-linker-tools 16.0.6-r14

Low Level Virtual Machine compiler system, version 16 (linker plugins)

https://llvm.org/

sudo apk add llvm16-linker-tools
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 依赖
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-linker-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-static 16.0.6-r14

LLVM 16 static libraries

https://llvm.org/

sudo apk add llvm16-static
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-test-utils 16.0.6-r14

LLVM 16 utilities for executing LLVM and Clang style test suites

https://llvm.org/

sudo apk add llvm16-test-utils
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-test-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

llvm16-test-utils-pyc 16.0.6-r14

Precompiled Python bytecode for llvm16-test-utils

https://llvm.org/

sudo apk add llvm16-test-utils-pyc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm16
  • 1 依赖
  • package manager index match
  • 匹配方式:Llvm16
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm16-test-utils-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Debian apt88%

llvm 1:19.0-63

Modular compiler and toolchain technologies

sudo apt install llvm
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 2 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: llvm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix88%

llvm

nix profile install nixpkgs#llvm
  • versioned package alias match
  • 匹配方式:Llvm
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: llvm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt88%

llvm 1:18.0-59~exp2

Low-Level Virtual Machine (LLVM)

sudo apt install llvm
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 2 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: llvm from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk88%

llvm 22-r0

Low Level Virtual Machine compiler system, default version.

https://llvm.org/

sudo apk add llvm
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • 1 提供
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-dev 22-r0

Low Level Virtual Machine compiler system, default version.

https://llvm.org/

sudo apk add llvm-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • 1 提供
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk88%

llvm-gtest 22-r0

LLVM default gtest static libraries

https://llvm.org/

sudo apk add llvm-gtest
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • versioned package alias match
  • 匹配方式:Llvm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llvm-gtest from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment