Automic VaultAutomic Vault

brew

lld を Homebrew, apt, dnf, Nix, pacman, zypper でインストール

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 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 2 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ld.lldcliグローバル実行可能ファイル
ld64.lldcliグローバル実行可能ファイル
lldcliグローバル実行可能ファイル
lld-linkcliグローバル実行可能ファイル
wasm-ldcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版22.1.8
マネージャ更新日2026-06-21
ローカルデータOK
上流not checked
検出された最新未検出

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:lld
バージョン22.1.8
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/lld
ホームページhttps://lld.llvm.org/
リポジトリhttps://github.com/llvm/llvm-project
上流ドキュメントhttps://lld.llvm.org/
ライセンスApache-2.0 WITH LLVM-exception
ソースアーカイブhttps://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz
最終更新2026-06-21T01:50:33Z
Pulseupdated
依存関係llvm, zstd
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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.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 依存関係
  • 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/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 依存関係
  • 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-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 依存関係
  • 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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