Automic VaultAutomic Vault

brew

Installer ldc avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ldc pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install ldc

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install ldc

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

Linux

Alpine Linux apkvérifié · 92%
sudo apk add ldc

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

Debian aptvérifié · 92%
sudo apt install ldc

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

Fedora dnfvérifié · 92%
sudo dnf install ldc

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

Nixvérifié · 92%
nix profile install nixpkgs#ldc

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S ldc

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

openSUSE zyppervérifié · 92%
sudo zypper install ldc

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

aperçu

Résumé du paquet

Portable D programming language compiler

Commandes et alias

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

historique

Historique du projet et usages

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

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:runtime,programming language

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.
  • Les métadonnées de compilation listent 2 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
ldc-build-plugincliexécutable global
ldc-build-runtimecliexécutable global
ldc-profdatacliexécutable global
ldc-profgencliexécutable global
ldc-prune-cachecliexécutable global
ldc2cliexécutable global
ldmd2cliexécutable global
timetrace2txtcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire1.42.0
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

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

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:ldc
Version1.42.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/ldc
Page d'accueilhttps://wiki.dlang.org/LDC
Dépôthttps://github.com/ldc-developers/ldc
Docs amonthttps://github.com/ldc-developers/ldc#readme
LicenceBSD-3-Clause
Archive sourcehttps://github.com/ldc-developers/ldc/releases/download/v1.42.0/ldc-1.42.0-src.tar.gz
Dépendancesllvm@21
Dépendances de compilationcmake, pkgconf
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • 2 fournit
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 5 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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