Getting Started On Linux

Prerequisites

You will also need the following prerequisites:

# Qemu. # Git. # Microsoft .NET Core. # Mono

If using the APT package manager you can use the following commands to quickly set everything up:

# Register Microsoft package repository
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

# Install the .NET Core SDK
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-3.1
sudo snap install dotnet-sdk --classic
sudo snap alias dotnet-sdk.dotnet dotnet

# Intall QEMU and GIT
sudo apt-get -y install qemu qemu-system qemu-system-x86 git

Download

The MOSA project is available as a zip download or via git:

git clone https://github.com/mosa/MOSA-Project.git

Build

cd MOSA-Project
dotnet restore Source/Mosa.Linux.sln
dotnet msbuild /verbosity:minimal Source/Mosa.Linux.sln