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
Copy file name to clipboardExpand all lines: GettingStartedDeb.md
+5-33Lines changed: 5 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,45 +17,17 @@ The rest of this section deals with setting up a machine to run applications wit
17
17
18
18
### Get Mono
19
19
20
-
Mono is how .NET applications can run on platforms other than Windows. Mono is an ongoing effort to port the .NET Framework to other platforms. In the process of developing ASP.NET 5 we worked with the Mono team to fix some bugs and add features that are needed to run ASP.NET applications. Because these changes haven't yet made it into an official Mono release we will either grab a Mono nightly build or compile Mono from source.
20
+
Mono is how .NET applications can run on platforms other than Windows. Mono is an ongoing effort to port the .NET Framework to other platforms. In the process of developing ASP.NET 5 we worked with the Mono team to fix some bugs and add features that are needed to run ASP.NET applications. These changes are only in builds of mono that are greatuer than 4.0.1.
21
21
22
-
#### Option 1: Mono CI build
22
+
To get these builds you need to run:
23
23
24
-
The Mono CI server builds packages for Linux distributions on each commit. To get them you install a particular snapshot and then run `mono-snapshot APP/VER` to change the current shell to use the provided snapshot. In these instructions we will grab the latest snapshot and set it to be the one to use.
25
-
26
-
**NOTE: Mono snapshots do not persist outside the current shell, you need to run `mono-snapshot` each time you want to run the newer version of Mono. If this isn't what you want then look at compiling Mono from source option, the instructions here show building from source and installing Mono. If you want other options then you should follow the links to the Mono build instructions. **
27
-
28
-
To do this we need to add the Mono CI server to apt-get:
echo"deb http://jenkins.mono-project.com/repo/debian sid main"| sudo tee /etc/apt/sources.list.d/mono-jenkins.list
33
-
sudo apt-get update
34
-
sudo apt-get install mono-snapshot-latest
35
-
. mono-snapshot mono
36
24
```
37
-
**NOTE:** Official Mono instructions that these steps come from are here: http://www.mono-project.com/docs/getting-started/install/linux/ci-packages/.
38
-
39
-
#### Option 2: Build Mono from source
40
-
41
-
Building Mono from source can take some time, and the commands below will install the built version of Mono on your machine replacing any version you might already have.
echo "deb http://download.mono-project.com/repo/debian alpha main" | sudo tee /etc/apt/sources.list.d/mono-xamarin-alpha.list
26
+
sudo apt-get update
54
27
```
55
28
56
-
See http://www.mono-project.com/docs/compiling-mono/linux/ for more details and some other build options.
29
+
After that either `apt-get upgrade` or `apt-get install Mono-Complete` depending on whether you have Mono installed already.
57
30
58
-
**NOTE:** Mono on Linux before 3.12 by default didn't trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Mono's certificate store with the system certificate store (on older versions you have to import Mozilla's list of trusted certificates by running `mozroots --import --sync`. If you get exceptions during package restore this is the most likely reason.
0 commit comments