Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 34 additions & 10 deletions Documentation/building/unix-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,53 @@ For more information about the different options when building, run `build.sh -?

## Minimum Hardware Requirements
- 2GB RAM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add x64 here as well? We only support building on an x64 machine.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend adding ./ as "run ./build.sh -? " to remind users that they will need it.

- x64

## Prerequisites (native build)
## Prerequisites

### Linux

First, the package lists might need to be updated
For Ubuntu, the following components are needed:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We get pretty heavily into Ubuntu here, but no other distro. It almost makes it sound like we only support building on Ubuntu, which isn't the case.

Can we just list our direct dependencies (git, cmake with minimum version, clang with minimum version), and then say And all the requirements necessary to run .NET Core 2.0 applications with the link to the docs site?

@maryamariyan maryamariyan May 8, 2018

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you, my intention though was to spell out the commands and to be consistent with corefx (there is also only instructions for ubuntu).

I'll push up another commit to address this feedback.


`sudo apt-get update`
* git
* clang-3.9
* cmake 2.8.12
* libunwind8
* curl

```sh
sudo apt-get update
sudo apt-get install git clang-3.9 cmake libunwind8 curl
```

On Linux, the following components are needed
And all the requirements necessary to run .NET Core 2.0 applications: libssl and libcu5x:

* CMake on the PATH
* Clang 3.5+ (same requirements as coreclr/corefx)
* All the requirements necessary to run .NET Core 2.0 applications
* libunwind
* curl
* For 14.x

```sh
sudo apt-get install libssl1.0.0 libcu52
```

* For 16.x

```sh
sudo apt-get install libssl1.0.0 libcu55
```

* For 17.x

```sh
sudo apt-get install libssl1.0.0 libcu57
```

For more info on prerequisites for .NET Core on Linux click [here](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x).

### macOS

macOS 10.12 or higher is needed to build dotnet/machinelearning.

On macOS a few components are needed which are not provided by a default developer setup:
* CMake
* cmake 3.10.3

One way of obtaining CMake is via [Homebrew](http://brew.sh):
```sh
Expand Down