Skip to content

Commit f05dc8d

Browse files
maryamariyaneerhardt
authored andcommitted
Correcting docs for building in Linux (dotnet#58)
* Correcting docs for building in linux Related to: dotnet#57 * Adding more description * Providing link for further information * Improving docs * Making less ubuntu centric. * Adding pre-req link for macOS * Improving sentences
1 parent 0c33b1a commit f05dc8d

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

Documentation/building/unix-instructions.md

+20-13
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,44 @@ Building ML.NET on Linux and macOS
77
3. Navigate to the `machinelearning` directory
88
4. Run the build script `./build.sh`
99

10-
Calling the script `build.sh` builds both the native and managed code.
10+
Calling the script `./build.sh` builds both the native and managed code.
1111

12-
For more information about the different options when building, run `build.sh -?` and look at examples in the [developer-guide](../project-docs/developer-guide.md).
12+
For more information about the different options when building, run `./build.sh -?` and look at examples in the [developer-guide](../project-docs/developer-guide.md).
1313

1414
## Minimum Hardware Requirements
1515
- 2GB RAM
16+
- x64
1617

17-
## Prerequisites (native build)
18+
## Prerequisites
1819

1920
### Linux
2021

21-
First, the package lists might need to be updated
22+
The following components are needed:
2223

23-
`sudo apt-get update`
24+
* git
25+
* clang-3.9
26+
* cmake 2.8.12
27+
* libunwind8
28+
* curl
29+
* All the requirements necessary to run .NET Core 2.0 applications: libssl1.0.0 (1.0.2 for Debian 9) and libicu5x (libicu52 for ubuntu 14.x, libicu55 for ubuntu 16.x, and libicu57 for ubuntu 17.x). For more information on prerequisites in different linux distributions click [here](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x).
2430

25-
On Linux, the following components are needed
31+
e.g. for Ubuntu 16.x:
2632

27-
* CMake on the PATH
28-
* Clang 3.5+ (same requirements as coreclr/corefx)
29-
* All the requirements necessary to run .NET Core 2.0 applications
30-
* libunwind
31-
* curl
33+
```sh
34+
sudo apt-get update
35+
sudo apt-get install git clang-3.9 cmake libunwind8 curl
36+
sudo apt-get install libssl1.0.0 libicu55
37+
```
3238

3339
### macOS
3440

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

3743
On macOS a few components are needed which are not provided by a default developer setup:
38-
* CMake
44+
* cmake 3.10.3
45+
* All the requirements necessary to run .NET Core 2.0 applications. To view macOS prerequisites click [here](https://docs.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore2x).
3946

4047
One way of obtaining CMake is via [Homebrew](http://brew.sh):
4148
```sh
4249
$ brew install cmake
43-
```
50+
```

0 commit comments

Comments
 (0)