Automic VaultAutomic Vault

brew

Install lld with Homebrew, apt, dnf, Nix, pacman, zypper

LLVM Project Linker. Version 22.1.8 via Homebrew; verified 2026-06-21.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lld

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install lld

Debian stable package indexes · lld · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install lld

Fedora Rawhide package metadata · lld · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lld

nixpkgs package indexes · lld · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S lld

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

openSUSE zypperverified · 92%
sudo zypper install lld

openSUSE Tumbleweed package metadata · lld · source: download.opensuse.org

overview

Package summary

LLVM Project Linker

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for lld. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
ld.lldcliglobal executable
ld64.lldcliglobal executable
lldcliglobal executable
lld-linkcliglobal executable
wasm-ldcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version22.1.8
manager updated2026-06-21
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:lld
Version22.1.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lld
Homepagehttps://lld.llvm.org/
Repositoryhttps://github.com/llvm/llvm-project
Upstream docshttps://lld.llvm.org/
LicenseApache-2.0 WITH LLVM-exception
Source archivehttps://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz
Last updated2026-06-21T01:50:33Z
Pulseupdated
Dependenciesllvm, zstd
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelld
Aliases
  • lld@22
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

lld 1:19.0-63

LLVM-based linker

sudo apt install lld
  • Section: devel
  • Architecture: amd64
  • Source Package: llvm-defaults
  • 1 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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.7-1.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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lld 22.1.6-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 dependencies
  • normalized package name match
  • Matched by: 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-2.1

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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lld
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lld from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment