Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 24, 2020 Can't download dmd in FreeBSD .. Slow! | ||||
---|---|---|---|---|
| ||||
# wget http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz --2020-07-24 10:24:35-- http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz Resolving downloads.dlang.org (downloads.dlang.org)... 52.218.233.250 Connecting to downloads.dlang.org (downloads.dlang.org)|52.218.233.250|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz [following] --2020-07-24 10:24:36-- http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz Reusing existing connection to downloads.dlang.org:80. HTTP request sent, awaiting response... 200 OK Length: 18729036 (18M) [application/x-tar] Saving to: 'dmd.2.093.0.freebsd-64.tar.xz' dmd.2.093.0.freebsd-64.tar.xz 20%[===============> ] 3.69M --.-KB/s eta 12h 41m FreeBSD ports so old and bugly: https://www.freshports.org/lang/dmd2/ |
July 24, 2020 Re: Can't download dmd in FreeBSD .. Slow! | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Friday, 24 July 2020 at 05:47:19 UTC, zoujiaqing wrote:
> # wget http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz
> --2020-07-24 10:24:35-- http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz
> Resolving downloads.dlang.org (downloads.dlang.org)... 52.218.233.250
> Connecting to downloads.dlang.org (downloads.dlang.org)|52.218.233.250|:80... connected.
> HTTP request sent, awaiting response... 301 Moved Permanently
> Location: http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz [following]
> --2020-07-24 10:24:36-- http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz
> Reusing existing connection to downloads.dlang.org:80.
> HTTP request sent, awaiting response... 200 OK
> Length: 18729036 (18M) [application/x-tar]
> Saving to: 'dmd.2.093.0.freebsd-64.tar.xz'
>
> dmd.2.093.0.freebsd-64.tar.xz 20%[===============>
> ] 3.69M --.-KB/s eta 12h 41m
>
>
> FreeBSD ports so old and bugly:
> https://www.freshports.org/lang/dmd2/
Don't tell dlang:
wget --continue --tries=inf --timeout=1 url.
The server sometimes takes a break in the middle of the download, I don't know why, probably a misconfiguration. With the low timeout, you force wget to hammer the server again if this happens to, presumably, give it a new "slot" and another burst of speed. Usually you can get the file downloaded in 5 retries or so.
|
July 24, 2020 Re: Can't download dmd in FreeBSD .. Slow! | ||||
---|---|---|---|---|
| ||||
Posted in reply to FeepingCreature | On Friday, 24 July 2020 at 05:56:51 UTC, FeepingCreature wrote: > On Friday, 24 July 2020 at 05:47:19 UTC, zoujiaqing wrote: >> # wget http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz >> --2020-07-24 10:24:35-- http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz >> Resolving downloads.dlang.org (downloads.dlang.org)... 52.218.233.250 >> Connecting to downloads.dlang.org (downloads.dlang.org)|52.218.233.250|:80... connected. >> HTTP request sent, awaiting response... 301 Moved Permanently >> Location: http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz [following] >> --2020-07-24 10:24:36-- http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz >> Reusing existing connection to downloads.dlang.org:80. >> HTTP request sent, awaiting response... 200 OK >> Length: 18729036 (18M) [application/x-tar] >> Saving to: 'dmd.2.093.0.freebsd-64.tar.xz' >> >> dmd.2.093.0.freebsd-64.tar.xz 20%[===============> >> ] 3.69M --.-KB/s eta 12h 41m >> >> >> FreeBSD ports so old and bugly: >> https://www.freshports.org/lang/dmd2/ > > Don't tell dlang: > > wget --continue --tries=inf --timeout=1 url. > > The server sometimes takes a break in the middle of the download, I don't know why, probably a misconfiguration. The server is an AWS S3 bucket. The bucket is located in the US though. There are a few mirrors that the install script will try as fallbacks, so using the official install script is recommended: https://dlang.org/install If you can't or don't want to use the install script, one mirror is http://ftp.digitalmars.com/ |
July 25, 2020 Re: Can't download dmd in FreeBSD .. Slow! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Seb | On Friday, 24 July 2020 at 12:57:40 UTC, Seb wrote:
> On Friday, 24 July 2020 at 05:56:51 UTC, FeepingCreature wrote:
>> On Friday, 24 July 2020 at 05:47:19 UTC, zoujiaqing wrote:
>>> # wget http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz
>>> --2020-07-24 10:24:35-- http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.freebsd-64.tar.xz
>>> Resolving downloads.dlang.org (downloads.dlang.org)... 52.218.233.250
>>> Connecting to downloads.dlang.org (downloads.dlang.org)|52.218.233.250|:80... connected.
>>> HTTP request sent, awaiting response... 301 Moved Permanently
>>> Location: http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz [following]
>>> --2020-07-24 10:24:36-- http://downloads.dlang.org/releases/2020/dmd.2.093.0.freebsd-64.tar.xz
>>> Reusing existing connection to downloads.dlang.org:80.
>>> HTTP request sent, awaiting response... 200 OK
>>> Length: 18729036 (18M) [application/x-tar]
>>> Saving to: 'dmd.2.093.0.freebsd-64.tar.xz'
>>>
>>> dmd.2.093.0.freebsd-64.tar.xz 20%[===============>
>>> ] 3.69M --.-KB/s eta 12h 41m
>>>
>>>
>>> FreeBSD ports so old and bugly:
>>> https://www.freshports.org/lang/dmd2/
>>
>> Don't tell dlang:
>>
>> wget --continue --tries=inf --timeout=1 url.
>>
>> The server sometimes takes a break in the middle of the download, I don't know why, probably a misconfiguration.
>
> The server is an AWS S3 bucket. The bucket is located in the US though.
>
> There are a few mirrors that the install script will try as fallbacks, so using the official install script is recommended:
>
> https://dlang.org/install
>
> If you can't or don't want to use the install script, one mirror is http://ftp.digitalmars.com/
Thanks! I want dmd , ldc and gdc push to FreeBSD ports and other system package manager! FreeBSD pkg use CDN can quickly get it!
|
Copyright © 1999-2021 by the D Language Foundation