How To Install Ldc?

How To Install Ldc?

ldc

LDC is a compiler for the D programming Language. It is based on

Maintainer: Debian D Language Group



Section: devel

Install ldc

  • Debian apt-get install ldc Click to copy
  • Ubuntu apt-get install ldc Click to copy
  • Arch Linux pacman -S ldc Click to copy
  • Kali Linux apt-get install ldc Click to copy
  • Fedora dnf install ldc Click to copy
  • Raspbian apt-get install ldc Click to copy
  • macOS brew install ldc Click to copy

ldc

LDC is a compiler for the D programming Language. It is based on

the latest DMD frontend and uses LLVM as backend. LLVM provides a fast and modern backend for high quality code generation. LDC is released under a BSD license with exceptions for the DMD frontend and code from GDC. The development takes place mostly on x86-32 and x86-64 Linux and that is where LDC works best. Support for other platforms and architectures is under development, but we are still looking for people to help test and adjust LDC for those platforms! LDC already compiles a lot of D code, but should still be considered beta quality. Take a look at the tickets to get a better impression on what still needs to be implemented.

Installing ldc command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of ldc 2026 package in your OS.