You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
Copy file name to clipboardExpand all lines: Documentation/building/unix-instructions.md
+20-13
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,44 @@ Building ML.NET on Linux and macOS
7
7
3. Navigate to the `machinelearning` directory
8
8
4. Run the build script `./build.sh`
9
9
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.
11
11
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).
13
13
14
14
## Minimum Hardware Requirements
15
15
- 2GB RAM
16
+
- x64
16
17
17
-
## Prerequisites (native build)
18
+
## Prerequisites
18
19
19
20
### Linux
20
21
21
-
First, the package lists might need to be updated
22
+
The following components are needed:
22
23
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).
24
30
25
-
On Linux, the following components are needed
31
+
e.g. for Ubuntu 16.x:
26
32
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
macOS 10.12 or higher is needed to build dotnet/machinelearning.
36
42
37
43
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).
39
46
40
47
One way of obtaining CMake is via [Homebrew](http://brew.sh):
0 commit comments