Install on Fedora 43
Dejan Lekic
dejan.lekic at gmail.com
Thu Nov 6 11:28:11 UTC 2025
My advice is not to use install.sh script on Fedora 43 to install
the DigitalMars D compiler (DMD).
Instead, again - if you want to install DMD, run the following:
```
sudo dnf install
https://downloads.dlang.org/releases/2.x/2.111.0/dmd-2.111.0-0.fedora.x86_64.rpm
```
it will install all the necessary dependencies for DMD to run
successfully.
Once it is finished with the installation run the `dmd --version`
command to verify that DMD works:
```
[dejan at f43 ~]$ dmd --version
DMD64 D Compiler v2.111.0
Copyright (C) 1999-2025 by The D Language Foundation, All Rights
Reserved written by Walter Bright
```
It is worth noting that both GCC D compiler (GDC) and LLVM D
compiler (LDC) are in the official Fedora repositories. To
install them run:
```
sudo dnf install gcc-gdc
[dejan at f43 ~]$ gdc --version
gdc (GCC) 15.2.1 20251022 (Red Hat 15.2.1-3)
```
or
```
[dejan at f43 ~]$ sudo dnf install ldc
[dejan at f43 ~]$ ldc2 --version
LDC - the LLVM D compiler (1.40.0):
```
More information about the Digitalmars-d-learn
mailing list