Skip to content

"Build ASP.NET Core from Source" doc page doesn't list cURL/Wget dependency for macOS/Linux #21430

@MaxHorstmann

Description

@MaxHorstmann

Describe the bug

Minor documentation bug: on the Build ASP.NET Core from Source documentation page, the Install pre-requisites - macOS/Linux section doesn't list "cURL or Wget" as a requirement. Many Linux distros, such as Ubuntu, don't include either by default.

To Reproduce

The dependency on either cURL or Wget can be reproduced e.g. by trying to build from source in a Ubuntu Docker container: running these commands...

$ docker run -it ubuntu
$ apt-get update
$ apt-get -y install git nodejs default-jdk liblttng-ust0 libcurl4 libssl1.0.0 libkrb5-3 zlib1g libicu60 libgdiplus
$ git clone --recursive https://github.com/dotnet/aspnetcore
$ cd aspnetcore
$ ./build.sh

... produces this output:

...
Downloading 'https://dot.net/v1/dotnet-install.sh'
Trying to run 'wget -v -O /aspnetcore/.dotnet/dotnet-install.sh https://dot.net/v1/dotnet-install.sh' for maximum of 5 attempts.
/aspnetcore/eng/common/tools.sh: line 233: wget: command not found
Failed to execute 'wget -v -O /aspnetcore/.dotnet/dotnet-install.sh https://dot.net/v1/dotnet-install.sh'. Waiting 3 seconds before next attempt (2 out of 5).
/aspnetcore/eng/common/tools.sh: line 233: wget: command not found
Failed to execute 'wget -v -O /aspnetcore/.dotnet/dotnet-install.sh https://dot.net/v1/dotnet-install.sh'. Waiting 7 seconds before next attempt

Installing either cURL or wget (e.g. by adding it to the apt-get -y install... comment) fixes the issue.

Further technical details

n/a - documentation only

Metadata

Metadata

Assignees

No one assigned

    Labels

    DoneThis issue has been fixedarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions