Thread overview
Do not able to install DMD Compiler with curl
October 31

The following there is error "No public key"!

md@SDB MSYS ~
$ curl -fsS https://dlang.org/install.sh | bash -s dmd
Downloading https://dlang.org/d-keyring.gpg
######################################################################## 100.0%
Downloading https://dlang.org/install.sh
######################################################################## 100.0%
gpg: directory '/home/md/.gnupg' created
gpg: /home/md/.gnupg/trustdb.gpg: trustdb created
gpg: Signature made Mon Apr  1 23:02:30 2024 +03
gpg:                using RSA key E22EC04C82780970381402F4A7D4D42F8EC6A355
gpg: Can't check signature: No public key
Invalid signature https://dlang.org/install.sh.sig

How can I solve it? Thanks...

SDB@79

October 31

On Thursday, 31 October 2024 at 08:00:25 UTC, Salih Dincer wrote:

>

The following there is error "No public key"!

md@SDB MSYS ~
$ curl -fsS https://dlang.org/install.sh | bash -s dmd
Downloading https://dlang.org/d-keyring.gpg
######################################################################## 100.0%
Downloading https://dlang.org/install.sh
######################################################################## 100.0%
gpg: directory '/home/md/.gnupg' created
gpg: /home/md/.gnupg/trustdb.gpg: trustdb created
gpg: Signature made Mon Apr  1 23:02:30 2024 +03
gpg:                using RSA key E22EC04C82780970381402F4A7D4D42F8EC6A355
gpg: Can't check signature: No public key
Invalid signature https://dlang.org/install.sh.sig

How can I solve it? Thanks...

SDB@79

I've had this before, and ./install.sh update solved it, except for on Fedora, I couldn't for the life of me figure out how to use the install script to install dmd (ldc and gdc installed just fine).

Jordan

October 31

On Thursday, 31 October 2024 at 08:18:58 UTC, Jordan Wilson wrote:

>

I've had this before, and ./install.sh update solved it, except for on Fedora, I couldn't for the life of me figure out how to use the install script to install dmd (ldc and gdc installed just fine).

Jordan

Thank you suggestions but no works on my operating system (Windows11), Here's can I do with MYSYS2:

md@SDB MSYS ~
$ mkdir -p ~/dlang && wget https://dlang.org/install.sh -O ~/dlang/install.sh
--2024-10-31 11:49:27--  https://dlang.org/install.sh
Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
Resolving dlang.org (dlang.org)... 162.217.114.56, 2607:fc50:1:ff02::5:0
Connecting to dlang.org (dlang.org)|162.217.114.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38449 (38K) [application/x-sh]
Saving to: ‘/home/md/dlang/install.sh’

/home/md/dlang/install.s 100%[==================================>]  37.55K  68.7KB/s    in 0.5s

2024-10-31 11:49:29 (68.7 KB/s) - ‘/home/md/dlang/install.sh’ saved [38449/38449]
md@SDB MSYS ~
$ cd dlang

md@SDB MSYS ~/dlang
$ ls
d-keyring.gpg  install.sh

md@SDB MSYS ~
$ ./install.sh update
Downloading https://dlang.org/d-keyring.gpg
############################################################################################# 100.0%
gpg: Signature made Tue Feb 14 01:52:51 2023 +03
gpg:                using RSA key E22EC04C82780970381402F4A7D4D42F8EC6A355
gpg: Can't check signature: No public key
Invalid signature https://dlang.org/d-keyring.gpg.sig

SDB@79