macOS
brew install llvm@16local Homebrew formula metadata
sudo port install llvm-16MacPorts ports tree · lang/llvm-16/Portfile · 来源: api.github.com
安装
brew install llvm@16local Homebrew formula metadata
sudo port install llvm-16MacPorts ports tree · lang/llvm-16/Portfile · 来源: api.github.com
sudo apt install llvm-16Ubuntu 24.04 LTS package indexes · llvm-16 · 来源: archive.ubuntu.com
sudo apk add llvm16Alpine Linux edge package indexes · llvm16 · 来源: dl-cdn.alpinelinux.org
sudo dnf install llvmFedora Rawhide package metadata · llvm · 来源: dl.fedoraproject.org
nix profile install nixpkgs#llvmnixpkgs package indexes · llvm · 来源: raw.githubusercontent.com
sudo pacman -S llvmArch Linux sync databases · llvm · 来源: geo.mirror.pkgbuild.com
sudo zypper install llvmopenSUSE Tumbleweed package metadata · llvm · 来源: download.opensuse.org
choco install llvmChocolatey community package catalog · llvm · 来源: community.chocolatey.org
scoop install main/llvmScoop official bucket manifest trees · bucket/llvm.json · 来源: api.github.com
winget install --id LLVM.LLVM -eWindows Package Manager source index · LLVM.LLVM · 来源: cdn.winget.microsoft.com
概览
Next-gen compiler infrastructure
历史
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.
安全态势
没有找到 llvm@16 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clang-16 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llvm@16 |
| Version Scheme | 0 |
| Revision | 1 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
llvm-16 1:16.0.6-23ubuntu4
Modular compiler and toolchain technologies
sudo apt install llvm-16llvm-16
sudo port install llvm-16clang-16 1:16.0.6-23ubuntu4
C, C++ and Objective-C compiler
sudo apt install clang-16llvm16 16.0.6-r14
Low Level Virtual Machine compiler system, version 16
sudo apk add llvm16llvm16-dev 16.0.6-r14
Low Level Virtual Machine compiler system, version 16 (development files)
sudo apk add llvm16-devllvm16-libs 16.0.6-r14
LLVM 16 runtime library
sudo apk add llvm16-libsllvm16-linker-tools 16.0.6-r14
Low Level Virtual Machine compiler system, version 16 (linker plugins)
sudo apk add llvm16-linker-toolsllvm16-static 16.0.6-r14
LLVM 16 static libraries
sudo apk add llvm16-staticllvm16-test-utils 16.0.6-r14
LLVM 16 utilities for executing LLVM and Clang style test suites
sudo apk add llvm16-test-utilsllvm16-test-utils-pyc 16.0.6-r14
Precompiled Python bytecode for llvm16-test-utils
sudo apk add llvm16-test-utils-pycllvm 1:19.0-63
Modular compiler and toolchain technologies
sudo apt install llvmllvm
nix profile install nixpkgs#llvmllvm 1:18.0-59~exp2
Low-Level Virtual Machine (LLVM)
sudo apt install llvmllvm 22-r0
Low Level Virtual Machine compiler system, default version.
sudo apk add llvmllvm-dev 22-r0
Low Level Virtual Machine compiler system, default version.
sudo apk add llvm-devllvm-gtest 22-r0
LLVM default gtest static libraries
sudo apk add llvm-gtest来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.