---
title: Install ldc2 on Linux | Snap Store
description: Get the latest version of ldc2 for Linux - D compiler with LLVM backend
url: https://snapcraft.io/ldc2
---

# ldc2

[LDC Snap Packages (ldc)](https://snapcraft.io/publisher/ldc "View all snaps from LDC Snap Packages (ldc)")

* [LDC Snap Packages (ldc)](https://snapcraft.io/publisher/ldc "View all snaps from LDC Snap Packages (ldc)")

latest/stable 1.24.0

Install latest/stable of ldc2

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install ldc2 --classic
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* ldc2

---

### License

* Other Open Source

---

### Last updated

* 26 January 2021 - latest/stable
* 31 March 2021 - 1.23/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/ldc-developers/ldc2.snap](https://github.com/ldc-developers/ldc2.snap "https://github.com/ldc-developers/ldc2.snap")

---

### Contact

* [ldc-developers@braingam.es](mailto:ldc-developers@braingam.es "mailto:ldc-developers@braingam.es")

---

### Command › Alias

* ldc2.ldmd2 › ldmd2
* ldc2.ldc-profdata › ldc-profdata
* ldc2.ldc-prune-cache › ldc-prune-cache

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/ldc2#report-snap-modal)

---

* [Description](https://snapcraft.io/ldc2#tab-description)
* [Security](https://snapcraft.io/ldc2#tab-security)

#### D compiler with LLVM backend

LDC is a portable compiler for the D programming Language, with modern optimization and code generation capabilities. It uses the official DMD compiler frontend to support the latest version of D2, and uses the LLVM Core libraries for code generation.

---

## Install ldc2 on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/ldc2/arch)

[### CentOS](https://snapcraft.io/install/ldc2/centos)

[### Debian](https://snapcraft.io/install/ldc2/debian)

[### elementary OS](https://snapcraft.io/install/ldc2/elementary)

[### Fedora](https://snapcraft.io/install/ldc2/fedora)

[### KDE Neon](https://snapcraft.io/install/ldc2/kde-neon)

[### Kubuntu](https://snapcraft.io/install/ldc2/kubuntu)

[### Manjaro](https://snapcraft.io/install/ldc2/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/ldc2/pop)

[### openSUSE](https://snapcraft.io/install/ldc2/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/ldc2/rhel)

[### Ubuntu](https://snapcraft.io/install/ldc2/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/ldc2/raspbian)
