pkg.soopen package index

brew / 排名 565

使用 Homebrew, apt, dnf, Nix, pacman, zypper 安装 lld

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lld

local Homebrew formula metadata

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

LLVM Project Linker

命令和别名

  • ld.lld
  • ld64.lld
  • lld
  • lld-link
  • wasm-ld

历史

项目历史与用法

lld is the LLVM Project's linker. It packages the LLVM approach to modular compiler infrastructure into the final link step, offering fast drop-in linkers for ELF, COFF, Mach-O, and WebAssembly workflows.

项目历史

lld developed as part of the broader LLVM toolchain. The official documentation describes it as a drop-in replacement for system linkers that runs much faster than traditional linkers and is useful for toolchain developers.

The lld documentation emphasizes several design choices that matter to compiler users: GNU-compatible command-line behavior for ELF, cross-linking support for all built targets, embeddability through lld::lldMain, default LTO support with clang, and a smaller codebase than GNU gold in the 2017 comparison.

The LLVM monorepo model means lld is released with LLVM rather than as a fully separate upstream project. Homebrew's lld formula builds the lld subproject from llvm-project release tarballs while depending on the matching LLVM package.

采用历史

lld adoption followed clang and LLVM adoption: developers could select it through compiler-driver flags such as -fuse-ld=lld instead of replacing /usr/bin/ld directly.

It became especially attractive for large C/C++ builds, cross-compilation, WebAssembly, Windows COFF/PDB workflows, and LTO-heavy builds where linker speed and LLVM integration matter.

使用方式

The package installs linkers such as ld.lld, ld64.lld, lld-link, and wasm-ld. Unix users often reach it through clang's -fuse-ld=lld option, while Windows-style builds use lld-link and WebAssembly builds use wasm-ld.

For package-manager users, installing lld separately from a full compiler bundle can make it easier to test linker behavior, speed up builds, or build toolchains that intentionally mix compiler and linker components.

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

lld is a core systems package because a linker affects every compiled binary produced through a toolchain. Small packaging choices around version matching, bottle compatibility, and dependency edges can ripple into large build farms.

Homebrew packaging lld as its own formula, rather than only as part of llvm, reflects the Unix tradition of swapping toolchain components one piece at a time.

时间线

  • 2017: lld documentation compared lld/ELF with GNU gold and emphasized link-time performance and code-size differences.
  • 2024: LLVM 19.1.0 release notes were published for the LLVM 19 release line.
  • 2026: Homebrew formula metadata recorded lld built from llvm-project 22.1.8 release sources.

Related projects

  • lld is part of llvm-project alongside LLVM, Clang, compiler-rt, libc++, MLIR, and other toolchain subprojects.
  • It is related to GNU ld, GNU gold, mold, platform linkers such as Apple's ld64, and WebAssembly toolchains that use wasm-ld.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ld.lld可执行文件已索引可执行文件从本地可执行文件索引发现。
ld64.lld可执行文件已索引可执行文件从本地可执行文件索引发现。
lld可执行文件已索引可执行文件从本地可执行文件索引发现。
lld-link可执行文件已索引可执行文件从本地可执行文件索引发现。
wasm-ld可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本22.1.8
管理器更新时间2026-06-21
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:lld
版本22.1.8
软件包管理器Homebrew
主页https://lld.llvm.org/
仓库https://github.com/llvm/llvm-project
最后更新2026-06-21T01:50:33Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

lld 1:19.0-63

LLVM-based linker

sudo apt install lld
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lld
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lld from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lld

nix profile install nixpkgs#lld
  • normalized package name match
  • 匹配方式:Lld
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: lld from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

lld 1:18.0-59~exp2

LLVM-based linker

sudo apt install lld
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 1 依赖
  • normalized package name match
  • 匹配方式:Lld
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lld from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

lld 22.1.8-20.fc45

The LLVM Linker

http://llvm.org

sudo dnf install lld
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Unspecified
  • Architecture: i686
  • Source Package: llvm
  • 13 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lld
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lld from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

lld 22.1.8-1

Linker from the LLVM project

https://lld.llvm.org/

sudo pacman -S lld
  • License: Apache-2.0 WITH LLVM-exception
  • Architecture: x86_64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Lld
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lld from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lld 22-3.2

Linker for Clang/LLVM

https://lld.llvm.org/

sudo zypper install lld
  • License: Apache-2.0 WITH LLVM-exception OR NCSA
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: llvm
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lld
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lld from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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