Member-only story

Getting Started with .NET Core on Arch Linux

Marcel Jurtz
2 min readJun 19, 2018

--

Hello Internet! Today, we will try to develop and run .NET Core Apps on a Macbook running Arch Linux! Because what could go wrong!

(Honestly, this went way better than I thought.)

Installation

Before we can start writing .NET Core applications on Linux, we need to install some packages. The Arch Wiki states that to run .NET Core applications, the dotnet-runtime package needs to be installed. Additionally, we will need dotnet-sdk-2.0 from the AUR to be able to develop custom applications.

Besides these packages, I recommend installing Visual Studio Code as text editor. I currently use this as my main text editor and it offers a plugin for C# development. You can download it from the AUR as well and then run it from the terminal by entering the command ‘code’.

Last but not least, if you’re getting started with VS Code as well, you can simplify your progress by using Microsofts cheatsheet (this is targeting windows users, but I’m sure you’ll be fine with it).

To install the plugin, simply use CTRL + Shift + X and search for ‘C#’. You’ll find a package from Microsoft called C# for Visual Studio Code (powered by OmniSharp), which you’ll want to install.

Hello World!

After installing all the mentioned packages and plugins, you’re ready to start developing! You can use the built in terminal from VS Code and create a new project folder. Create a new…

--

--

Marcel Jurtz
Marcel Jurtz

Written by Marcel Jurtz

Software Developer (C#, Java / Desktop, Web, Mobile, Games (VR)), Triathlete & Coach - mjurtz.com — Sign up to my newsletter: coding.mjurtz.com

No responses yet