Installing Mono and .NET Core with Kestrel on Fedora 23 (Quick guide)

Installing Mono and .NET Core is very simple on Fedora 23, even though there are no official docs.

Step 1: Install Mono and dependencies:

sudo dnf install mono-devel openssl-devel libunwind

or, if you want to install Mono from their repository (newest stable versions):

sudo rpm --import ""
sudo dnf config-manager --add-repo
sudo dnf install -y mono-complete openssl-devel libunwind --refresh

Step 2: Install libuv (for Kestrel):

sudo dnf install libuv libuv-devel

Step 3: Install dnvm (dot-net-version-manager) and test it:

curl -sSL | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/
dnvm list # should return blank list

Step 4: Install the latest .NET runtime (Mono and coreclr)

dnvm install latest -r mono
dnvm install latest -r coreclr

Step 5: Test

dnvm list # should return two runtimes
dnx # should work

Step 6: Write a simple app - In a blank folder create Program.cs and project.json files:


using System;

public class Program
    public static void Main (string[] args)
        Console.WriteLine("Hello, Linux");
        Console.WriteLine("Love from CoreCLR.");


    "frameworks" : {
        "dnx451" : { },
        "dnxcore50" : { }

And run it:

dnu restore
dnx run

If dnu restore complains about not being able to download NuGet packages your certificates are probably in need of an update:

mozroots --import --sync

Also try coreclr (replace rc1-update1 with your installed version):

dnvm use 1.0.0-rc1-update1 -r coreclr
dnx run

Have fun!


Now read this

Compling ARM stuff without an ARM board / Build PyTorch for the Raspberry Pi

I am in the process of building a self-driving RC car. It’s a fun process full of discovery (I hate it already). Once it is finished I hope to write a longer article here about what I learned so stay tuned! While the electronics stuff... Continue →