www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Install on Fedora 43

reply Tanker3278 <tanker3278 yahoo.com> writes:
Hi guys!

Am interested in D since it's suppose to be the successor to C++.

Was trying to get D installed on Fedora 43.  Not a power-user by 
any means.  Mostly stumbling my way through everything.

I downloaded the install.sh script off the website.  When I ran 
it I got this:

gpg: Note: Specified keyrings are ignored due to option 
"use-keyboxd"
gpg: Signature made Mon 01 Apr 2024 04:02:30 PM EDT
gpg:                using RSA key 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
gpg: Can't check signature: No public key
Invalid signature https://dlang.org/install.sh.sig

(X'ed out the RSA key - what is that anyway?)

So....I take it this means it didn't install?  Or did it and just 
doesn't have keys?  I don't understand what this is telling me...

Thanks!

- Tanker
Nov 05
next sibling parent Serg Gini <kornburn yandex.ru> writes:
On Thursday, 6 November 2025 at 05:42:40 UTC, Tanker3278 wrote:
 Hi guys!

 Am interested in D since it's suppose to be the successor to 
 C++.


 Thanks!

 - Tanker
Hi there Did you try: `sudo dnf install ldc`
Nov 06
prev sibling parent Dejan Lekic <dejan.lekic gmail.com> writes:
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 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 f43 ~]$ gdc --version
gdc (GCC) 15.2.1 20251022 (Red Hat 15.2.1-3)
```

or

```
[dejan f43 ~]$ sudo dnf install ldc
[dejan f43 ~]$ ldc2 --version
LDC - the LLVM D compiler (1.40.0):
```
Nov 06