Tutorial
Updated
Run osu! on linux without Wine
Disclaimer: This instructions are outdated.
visit https://github.com/ppy/osu#building-and-running for current building instructions
For those who wanna play or try osu! on Linux but don't want to use Wine there is a new version of the client currently in development called osu! Lazer and it's open source!
But first, as stated on the GitHub page of the project:
So in order to try this we have to build it from source.
I'm using Linux Mint 18.1 so this tutorial will focus on Debian based distributions.
In order to build it you gonna need to install some tools:
Use Git to get the source code from github:
then CD into osu and use Git to download nuget.exe
now restore the packages using nuget
Finally use msbuild to 'build' osu! this will take some time and it should give 0 errors and 0 warnings.
you can now run osu! using mono from ~/osu/osu.Desktop/bin/Debug/net471/osu.exe!
visit https://github.com/ppy/osu#building-and-running for current building instructions
For those who wanna play or try osu! on Linux but don't want to use Wine there is a new version of the client currently in development called osu! Lazer and it's open source!
But first, as stated on the GitHub page of the project:
This means altought you can log-in with your acount, there's no online match and you can expect a lot of inestability and bug.This is still heavily under development and is not intended for end-user use. This repository is intended for developer collaboration. You're welcome to try and use it but please do not submit bug reports without a patch. Please do not ask for help building or using this software.
So in order to try this we have to build it from source.
I'm using Linux Mint 18.1 so this tutorial will focus on Debian based distributions.
In order to build it you gonna need to install some tools:
- Wget to get some files from the web
- Git to get the source code
- Mono-develop to compile it
- And the source code itself
You can get both from your distribution repository so just:
Code:
$ sudo apt install git
$ sudo apt install wget
Mono can also be found in your distribution repositories but it will be outdated so first we add the MonoDevelop Project repository:
for Ubuntu 16.04 (or distributions using the same kernel):
for Ubuntu 14.04 (or distributions using the same kernel):
Then simply:
These instruction alongside support for other distros and platforms can be found he: http://www.monodevelop.com/download/#fndtn-download-lin-ubuntu
for Ubuntu 16.04 (or distributions using the same kernel):
Code:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$ echo "deb http://download.mono-project.com/repo/ubuntu vs-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
$ sudo apt-get update
for Ubuntu 14.04 (or distributions using the same kernel):
Code:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$ echo "deb http://download.mono-project.com/repo/ubuntu vs-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
$ sudo apt-get update
Then simply:
Code:
$ sudo apt-get install monodevelop
Building osu!
Use Git to get the source code from github:
Code:
$ git clone --recurse-submodules https://github.com/ppy/osu
Code:
$ cd osu
$ wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
Code:
$ mono ./nuget.exe restore
when restoring the nuget package i received warning about 'Detected package downgrade'
i solve the issue by Installing .NET Core SDK from Here
i solve the issue by Installing .NET Core SDK from Here
Code:
$ msbuild
Code:
$ mono ~/osu/osu.Desktop/bin/Debug/net471/'osu!.exe'
Last edited by SagaP,