Do not able to install DMD Compiler with curl

Salih Dincer salihdb at hotmail.com
Thu Oct 31 09:01:25 UTC 2024


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 at 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 at SDB MSYS ~
$ cd dlang

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

```

```
md at 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 at 79



More information about the Digitalmars-d-learn mailing list