Skip to content

Commit 8b580ad

Browse files
colemickensCole Mickens
authored andcommitted
remove mono entirely from linux getting started
1 parent fde5efc commit 8b580ad

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

docs/getting-started/installing-core-linux.rst

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ Install the ``libunwind8``, ``libssl-dev`` and ``unzip`` packages:
2626
2727
sudo apt-get install libunwind8 libssl-dev unzip
2828
29-
You also need a latest version of Mono, which is required for DNX tooling. This is a temporary requirement, and will not be required in the future.
30-
31-
.. code-block:: console
32-
33-
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
34-
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
35-
sudo apt-get update
36-
sudo apt-get install mono-complete
3729
3830
Certificates
3931
^^^^^^^^^^^^
@@ -56,17 +48,7 @@ You need DNVM as a starting point. DNVM enables you to acquire one or multiple .
5648
Installing the .NET Core DNX
5749
----------------------------
5850

59-
You first need to acquire the Mono DNX. It doesn't include Mono, but is
60-
needed to use the DNX tools on top of Mono. In particular, the DNU
61-
command is not yet supported on .NET Core, requiring us to use Mono for
62-
this purpose (until DNU runs on .NET Core). Mono is the default DNX, so
63-
you can acquire it via ``dnvm upgrade``.
64-
65-
.. code-block:: console
66-
67-
dnvm upgrade -u
68-
69-
Next, acquire the .NET Core DNX SDK.
51+
You first need to acquire the CoreCLR DNX.
7052

7153
.. code-block:: console
7254
@@ -83,7 +65,6 @@ You can see the currently installed DNX versions with ``dnvm list``.
8365
Active Version Runtime Arch Location Alias
8466
------ ------- ------- ---- -------- -----
8567
* 1.0.0-beta5-11649 coreclr x64 ~/.dnx/runtimes
86-
1.0.0-beta5-11649 mono ~/.dnx/runtimes default
8768
8869
Using a specific runtime
8970
------------------------
@@ -101,7 +82,6 @@ You can choose which of the installed DNXs you want to use with ``dnvm use``, sp
10182
Active Version Runtime Arch Location Alias
10283
------ ------- ------- ---- -------- -----
10384
* 1.0.0-beta5-11649 coreclr x64 ~/.dnx/runtimes
104-
1.0.0-beta5-11649 mono ~/.dnx/runtimes default
10585
10686
See the asterisk in the listing above? It's purpose is to tell you which runtime is now active. "Active" here means that all of the interaction with your projects and .NET Core will use this runtime.
10787

@@ -149,19 +129,11 @@ Run your App
149129
------------
150130

151131
You need to restore packages for your app, based on your project.json,
152-
with ``dnu restore``. You will need to run this command under the Mono
153-
DNX. The first command switches the active runtime to the Mono one.
132+
with ``dnu restore``.
154133

155134
.. code-block:: console
156135
157-
dnvm use 1.0.0-beta5-11649 -r mono
158136
dnu restore
159-
160-
You are now ready to run your app under .NET Core. As you can guess, however, before you do that you first need to switch to the .NET Core runtime. The first command below does exactly that.
161-
162-
.. code-block:: console
163-
164-
dnvm use 1.0.0-beta5-11649 -r coreclr
165137
dnx run
166138
167139
Hello, Linux

0 commit comments

Comments
 (0)