{"id":16624,"date":"2015-12-17T18:08:08","date_gmt":"2015-12-17T17:08:08","guid":{"rendered":"http:\/\/infozone.se\/?p=16624"},"modified":"2015-12-17T18:08:08","modified_gmt":"2015-12-17T17:08:08","slug":"installing-and-running-asp-net-5-vnext-on-linux-with-thick-windows-goggles","status":"publish","type":"post","link":"https:\/\/www.infozone.se\/en\/latest-news\/installing-and-running-asp-net-5-vnext-on-linux-with-thick-windows-goggles\/","title":{"rendered":"Installing and running ASP.NET 5 (vNext) on Linux with thick Windows goggles"},"content":{"rendered":"

This blog post will walk you through the installation of ASP.NET 5 (vNext) on Linux (Ubuntu 14.04) from my perspecitve, which is through thick Windows eyes. When the installation is complete I’ll create a very simple application using Yeoman. For you who just want to get going with the installation without reading, see the TLDR; section below. Also, if you already have everything installed and just want to create an application you can jump to create your application<\/a>.<\/p>\n

TLDR;<\/h2>\n

Microsoft already have a great walkthrough @ http:\/\/docs.asp.net\/en\/latest\/getting-started\/installing-on-linux.html<\/a> or you can use my own script that will install everything needed for you in a blink. To do that run the following command:<\/p>\n

curl -sSL https:\/\/raw.githubusercontent.com\/Hagsten\/aspnet-complete-install\/master\/install.sh -o install.sh && bash install.sh && rm install.sh<\/pre>\n

Introduction<\/h2>\n

I’ve really gotten my eyes up for Linux recently, and it is all because of Microsoft. Linux users will probably go ‘ugh’ reading that, but everyone has to start somewhere.<\/p>\n

The reason for my recent Linux interest spells ASP.NET 5 (which might be obvious to you) which enables us to write and host ASP.NET applications on Linux. This is something that has not been possible since the dawn of .NET (we could, using Mono, but that is a story for another day).<\/p>\n

As the title infers, I am a Linux rookie and I’ve recently installed it for the sole purpose of trying out ASP.NET 5 on it, but I’m growing quite fond of it so I might use it for other purposes in the future.<\/p>\n

When reading the official Microsoft walkthrough on installing .NET 5 I can see that there are many pre-requisites and dependencies to install DNVM and DNX. Instead of just installing everything blindly, I searched the web for information about each dependency to really get a grip on what is actually going on (and at the same time learn some Linux lingo). I though I’d share it to you. So, here is my version of Microsofts walkthrough, complete with information on each dependency and (most) Linux terms that are used.<\/p>\n

Install .NET on Linux<\/h2>\n

.NET Core have many dependencies and prerequisites, we have its own components such as DNVM and DNX which in turn depends on other libs. If you are, as me, a rookie at Linux, there are a few commands that are vital to understand:<\/p>\n