Automic VaultAutomic Vault

brew

ldc mit Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ldc in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ldc

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install ldc

MacPorts ports tree · lang/ldc/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add ldc

Alpine Linux edge package indexes · ldc · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install ldc

Debian stable package indexes · ldc · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install ldc

Fedora Rawhide package metadata · ldc · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#ldc

nixpkgs package indexes · pkgs/by-name/ld/ldc/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S ldc

Arch Linux sync databases · ldc · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install ldc

openSUSE Tumbleweed package metadata · ldc · Quelle: download.opensuse.org

Windows

Chocolateyverifiziert · 92%
choco install ldc

Chocolatey community package catalog · ldc · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/ldc

Scoop official bucket manifest trees · bucket/ldc.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

Portable D programming language compiler

Befehle und Aliase

  • ldc-build-plugin
  • ldc-build-runtime
  • ldc-profdata
  • ldc-profgen
  • ldc-prune-cache
  • ldc2
  • ldmd2
  • timetrace2txt

Verlauf

Projektgeschichte und Nutzung

LDC is the LLVM-backed compiler for the D programming language, pairing the D frontend and runtime libraries with LLVM code generation and optimization.

Projektgeschichte

LDC emerged to give D programmers an LLVM-based alternative to the reference DMD compiler and GCC's GDC. The project README describes the compiler as using the official DMD frontend and LLVM as backend, with the ldc2 command as the main compiler driver.

The project evolved from early experimental D compiler work into a regular release train maintained by the ldc-developers organization. Its changelog shows the ongoing maintenance burden that matters for compilers: tracking D frontend/druntime/Phobos versions, LLVM versions, target ABI changes, platform support, and prebuilt binary packaging.

By the 1.x series, LDC had become a practical production compiler for D, not just a backend experiment. Its release notes repeatedly call out supported LLVM ranges, bundled LLVM versions for prebuilt packages, cross-compilation work, and platform fixes across Linux, macOS, Windows, Android, Alpine/musl, RISC-V, PowerPC, and other targets.

Adoptionsgeschichte

LDC's adoption is tied to D users who want LLVM optimization, broader target support, link-time optimization, and packaging-friendly prebuilt compilers. Package-manager coverage across Homebrew, Debian, Ubuntu, Fedora-family systems, Alpine, Arch, Nix, Scoop, Chocolatey, MacPorts, and openSUSE-family systems reflects that it is one of the standard ways to install a D compiler.

The project also matters to downstream packagers because its behavior depends on matching D frontend/runtime versions to LLVM support windows. The changelog's repeated packaging notes, glibc baseline changes, installer changes, and bundled-runtime details are signals of a mature compiler package rather than a small standalone CLI.

Wie es verwendet wird

Users invoke ldc2 to compile D programs, use ldmd2 for DMD-compatible command-line behavior, and rely on helper tools such as ldc-build-runtime, ldc-build-plugin, ldc-profdata, ldc-profgen, and timetrace2txt for runtime building, plugin workflows, profiling, and build-time analysis.

The compiler is commonly selected when D code needs LLVM optimization, cross-compilation targets, sanitizer or profiling support, or integration with LLVM-adjacent workflows.

Warum Paket-Nerds sich dafür interessieren

LDC is package-nerd significant because compiler packages sit at the junction of language ecosystems and system toolchains. It has to coordinate D language releases, LLVM ABI/API changes, C toolchains, platform linkers, bundled runtime libraries, and distro-specific packaging constraints.

For Homebrew and other package managers, LDC is also a dependency-shaped package: installing it is not just about one executable, but about shipping a coherent compiler, runtime, standard library, config files, and helper tools.

Zeitleiste

  • 2000s: LDC begins as an LLVM-based compiler path for the D language.
  • 2016: The 1.0 release line establishes LDC as a stable D compiler package.
  • 2023: LDC 1.33.0 documents semantic-analysis plugin support and adds ldc-build-plugin.
  • 2024: LDC 1.38.0 documents LLVM 18 support and Android TLS/runtime changes.
  • 2025: LDC 1.41.0 documents LLVM 20 support and Ubuntu 22.04-based Linux packages.
  • 2026-03-01: LDC 1.42.0 documents LLVM 21 support and D frontend/druntime/Phobos version 2.112.1+.

Related projects

  • Related projects include DMD, the reference D compiler whose frontend LDC tracks; GDC, the GCC-based D compiler; LLVM and Clang; and the D runtime and Phobos standard library.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:runtime,programming language

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
ldc-build-plugincliglobales Executable
ldc-build-runtimecliglobales Executable
ldc-profdatacliglobales Executable
ldc-profgencliglobales Executable
ldc-prune-cachecliglobales Executable
ldc2cliglobales Executable
ldmd2cliglobales Executable
timetrace2txtcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version1.42.0
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/ldc-developers/ldc

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ldc
Version1.42.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ldc
Homepagehttps://wiki.dlang.org/LDC
Repositoryhttps://github.com/ldc-developers/ldc
Upstream-Dokumentationhttps://github.com/ldc-developers/ldc#readme
LizenzBSD-3-Clause
Quellarchivhttps://github.com/ldc-developers/ldc/releases/download/v1.42.0/ldc-1.42.0-src.tar.gz
Abhängigkeitenllvm@21
Build-Abhängigkeitencmake, pkgconf
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

ldc 1:1.40.0-5

LLVM D Compiler

https://github.com/ldc-developers/ldc

sudo apt install ldc
  • Section: devel
  • Architecture: amd64
  • 6 Abhängigkeiten
  • 2 stellt bereit
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ldc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ldc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libphobos2-ldc-shared-dev 1:1.40.0-5

LLVM D Compiler - Standard and runtime libraries, imports

https://github.com/ldc-developers/ldc

sudo apt install libphobos2-ldc-shared-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: ldc
  • 5 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libphobos2-ldc-shared-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libphobos2-ldc-shared110 1:1.40.0-5

LLVM D Compiler - Standard and runtime libraries

https://github.com/ldc-developers/ldc

sudo apt install libphobos2-ldc-shared110
  • Section: libs
  • Architecture: amd64
  • Source Package: ldc
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ldc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libphobos2-ldc-shared110 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ldc

nix profile install nixpkgs#ldc
  • normalized package name match
  • Abgeglichen nach: Ldc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ld/ldc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ldc 1:1.36.0-2ubuntu2

LLVM D Compiler

https://github.com/ldc-developers/ldc

sudo apt install ldc
  • Section: universe/devel
  • Architecture: amd64
  • 6 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ldc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libphobos2-ldc-shared-dev 1:1.36.0-2ubuntu2

LLVM D Compiler - Standard and runtime libraries, imports

https://github.com/ldc-developers/ldc

sudo apt install libphobos2-ldc-shared-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: ldc
  • 4 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libphobos2-ldc-shared-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libphobos2-ldc-shared106 1:1.36.0-2ubuntu2

LLVM D Compiler - Standard and runtime libraries

https://github.com/ldc-developers/ldc

sudo apt install libphobos2-ldc-shared106
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: ldc
  • 3 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ldc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libphobos2-ldc-shared106 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ldc 1.42.0-r0

The LLVM-based D Compiler

https://github.com/ldc-developers/ldc

sudo apk add ldc
  • License: BSD-3-Clause AND BSL-1.0 AND ( Artistic-1.0 OR GPL-2.0-or-later ) AND NCSA AND MIT
  • Architecture: x86_64
  • Source Package: ldc
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ldc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ldc-bash-completion 1.42.0-r0

Bash completions for ldc

https://github.com/ldc-developers/ldc

sudo apk add ldc-bash-completion
  • License: BSD-3-Clause AND BSL-1.0 AND ( Artistic-1.0 OR GPL-2.0-or-later ) AND NCSA AND MIT
  • Architecture: x86_64
  • Source Package: ldc
  • normalized package name match
  • Abgeglichen nach: Ldc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ldc-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ldc-dbg 1.42.0-r0

The LLVM-based D Compiler (debug symbols)

https://github.com/ldc-developers/ldc

sudo apk add ldc-dbg
  • License: BSD-3-Clause AND BSL-1.0 AND ( Artistic-1.0 OR GPL-2.0-or-later ) AND NCSA AND MIT
  • Architecture: x86_64
  • Source Package: ldc
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ldc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ldc-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ldc-runtime 1.42.0-r0

Dynamic runtime library for D code compiled with ldc-1.42.0

https://github.com/ldc-developers/ldc

sudo apk add ldc-runtime
  • License: BSD-3-Clause AND BSL-1.0 AND ( Artistic-1.0 OR GPL-2.0-or-later ) AND NCSA AND MIT
  • Architecture: x86_64
  • Source Package: ldc
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ldc-runtime from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ldc-static 1.42.0-r0

The LLVM-based D Compiler (static library)

https://github.com/ldc-developers/ldc

sudo apk add ldc-static
  • License: BSD-3-Clause AND BSL-1.0 AND ( Artistic-1.0 OR GPL-2.0-or-later ) AND NCSA AND MIT
  • Architecture: x86_64
  • Source Package: ldc
  • normalized package name match
  • Abgeglichen nach: Ldc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ldc-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

ldc 1.42.0-2.fc45

LLVM D Compiler

https://github.com/ldc-developers/ldc

sudo dnf install ldc
  • License: BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ldc
  • 14 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ldc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ldc-libs 1.42.0-2.fc45

LLVM D Compiler libraries

https://github.com/ldc-developers/ldc

sudo dnf install ldc-libs
  • License: BSL-1.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: ldc
  • 6 Abhängigkeiten
  • 5 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ldc-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ldc 3:1.42.0-1

A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2

https://github.com/ldc-developers/ldc

sudo pacman -S ldc
  • License: BSD-3-Clause AND BSL-1.0 AND Apache-2.0 WITH LLVM-exception
  • Architecture: x86_64
  • 5 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ldc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ldc 1.40.1-1.3

The LLVM D Compiler

https://wiki.dlang.org/LDC

sudo zypper install ldc
  • License: Artistic-1.0 AND BSD-3-Clause
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: ldc
  • 8 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ldc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ldc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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