Skip to content

Commit 43a3c16

Browse files
committed
Update GettingStartedDeb.md
Update instructions to use debian alpha channel
1 parent 57fa794 commit 43a3c16

File tree

1 file changed

+5
-33
lines changed

1 file changed

+5
-33
lines changed

GettingStartedDeb.md

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,17 @@ The rest of this section deals with setting up a machine to run applications wit
1717

1818
### Get Mono
1919

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.
2121

22-
#### Option 1: Mono CI build
22+
To get these builds you need to run:
2323

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:
29-
30-
```bash
31-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
32-
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
3624
```
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.
42-
43-
```bash
44-
sudo apt-get install git autoconf libtool automake build-essential mono-devel gettext
45-
PREFIX='/usr/local'
46-
PATH=$PREFIX/bin:$PATH
47-
git clone https://github.com/mono/mono.git
48-
cd mono
49-
./autogen.sh --prefix=$PREFIX
50-
make
51-
sudo make install
52-
cd .. && rm -rf Mono
53-
mozroots --import --sync
25+
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
5427
```
5528

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.
5730

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.
5931

6032
### Get libuv
6133

0 commit comments

Comments
 (0)