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

[Canonical Snapcraft](https://snapcraft.io/)

# Install ldc2 on **Fedora**

# 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)")

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

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

### 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")

---

##### Report a Snap Store violation

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

---

## Enable snaps on Fedora and install ldc2

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap can be installed on Fedora from the command line:

```
sudo dnf install snapd
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

To enable *classic* snap support, enter the following to create a symbolic link between `/var/lib/snapd/snap` and `/snap`:

```
sudo ln -s /var/lib/snapd/snap /snap
```

### Install ldc2

To install ldc2, simply use the following command:

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

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/ldc2/fedora)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/ldc2/fedora)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
