ASP.NET vNext on Ubuntu Linux

Disclaimer: Please note that this description is made based on taken notes during installation and is a subject to change after additional verification.

Described installation has been made on Ubuntu 14.04.

In first step let’s update packages information using:

sudo apt-cache update

Next step is installation of Mono prerequisites:

sudo apt-get install git autoconf libtool automake build-essential mono-devel gettext libuv0.10

Then clone Mono repository from GitHub to selected folder, install it and verify instalation:

mkdir mono
cd mono
git clone

Change directory in order to execute script

./ –prefix=/usr/local && make && sudo make install

And check Mono version using:

mono –version

By default this version of Ubuntu does not have installed Curl so we need to install it:

sudo apt-get install curl

Install KVM and perform upgrade:

curl -sSL | sh && source ~/.kre/kvm/

kvm upgrade

You can clone now official GitHub repository for ASP.NET vNext using:

git clone

However in order to restore required nuget packages additional certificates installation is required:

sudo $CERTMGR -ssl -m
sudo $CERTMGR -ssl -m
sudo $CERTMGR -ssl -m
mozroots –import –sync

Now you can call in selected project folder following command:

kpm restore

Everything should work for console application, however in order run e.g. MVC project additional configuration is needed (installation of Kestrel from source code):

sudo apt-get -qqy install \
autoconf \
automake \
build-essential \

In separate folder clone libuv repository:

git clone

Install and configure it:

./ && ./configure && sudo make install
sudo ldconfig

Now for MVC project after calling “kpm restore” you can now run it using:

k kestrel