Here's an updated guide for installing osu! on Ubuntu (and variants) 14.10 (but easily adaptable for other versions/distros too).
These instructions will:
- Update your open-source graphics stack to bleeding-edge components with gallium-nine compatibility (if applicable)
- Give you Wine with gallium-nine compatibility (if applicable)
- Set osu! up in it's own 32-bit Wineprefix
This guide assumes:
- You know how to copy/paste commands into a Terminal window
- You're using Ubuntu (or variants) 14.10
Disclaimer: I take no responsibility for any loss-of data or anything else. You run these commands at your own risk (but you should be fine anyway)
Note: Run these commands one line at a time. Do not copy/paste the code block.
1a. Install PPAs, update packages, and reboot
Add these PPAs if you want to use updated open-source graphics drivers:
- Reference here for other distro repositories for gallium-nine compatible Mesa/Wine builds
Add this PPA if you are, or want to use proprietary graphics drivers:
Update the software sources, update packages from new sources, and reboot:
1b. Update your Kernel
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D
Grab either latest stable, mainline, or daily kernel (ignore the utopic/trusty/vivid tags; kernels install fine on any Ubuntu distro for the most part)
Use https://www.kernel.org/ for reference to kernel versions.
Do not do this if you have no idea what you're doing (and especially not if using proprietary graphics drivers unless you know for sure they support the kernel you're upgrading to). More info: https://wiki.ubuntu.com/Kernel/MainlineBuilds
2. Install Wine (currently 1.7.34)
3. Initial-setup osu! Wineprefix
Graphics > Automatically capture the mouse in full-screen windows
Graphics > Prefer native Direct3D 9 (only applicable for open-source graphics drivers)
About > (fill in Owner and Organization with something)
4a. Install .NET Framework 2.0
Explanation: As of 2015/02/05, you only need dotnet20 to run osu!. You don't need any higher .NET package or XNA. You could install gdiplus here if you want too.
4b. Install GDI+
Explanation: At the very least, this make the song control buttons at the top-right of the main menu visible and usable. Not sure what else it does outside of that, but you could either skip this package and play osu! with very minor cosmetic issue, or install it to be on the safe-side. If you choose to install it, it's about a 500MB download.
5. Download and Install osu!
Explanation: This downloads osu!.exe, makes a proper directory, copies the executable to that folder, and runs it with Wine to allow it to download the rest of the files.
If you decide/want to use the web installer osu!installer.exe do not install it to the default Local Settings/Application Data location, or else Wine will not make you a desktop icon! Do not use the old/full osu!installer.exe as it will try to install .NET 3.5, which is not recommended.
6. Set osu! up (login, Options)
I recommend switching over to Beta or Cutting Edge (Experimental) release stream, and then switching back to Stable if you want after game restart; this will create an osu! desktop shortcut with proper settings (if not installed to Local Settings/Application Data folder)
7. Restore backed-up Songs/Skins, and/or just play
Other Information:
- Older guide with additional notes
- WineHQ AppDB page for osu!
- My .desktop shortcut for reference
Random Updates:
- Updated osume.exe link
- If you want to use the non-gallium-nine-patched Wine, I might recommend giving wine-staging a go (seems to stay up-to-date better on the PPA, plus it gains neat features occasionally)
- Removed sarnex DRI3 PPA for Radeon (oibaf's PPA includes an updated radeon/ati driver that contains DRI3 patches)
These instructions will:
- Update your open-source graphics stack to bleeding-edge components with gallium-nine compatibility (if applicable)
- Give you Wine with gallium-nine compatibility (if applicable)
- Set osu! up in it's own 32-bit Wineprefix
This guide assumes:
- You know how to copy/paste commands into a Terminal window
- You're using Ubuntu (or variants) 14.10
Disclaimer: I take no responsibility for any loss-of data or anything else. You run these commands at your own risk (but you should be fine anyway)
Note: Run these commands one line at a time. Do not copy/paste the code block.
1a. Install PPAs, update packages, and reboot
Add these PPAs if you want to use updated open-source graphics drivers:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo add-apt-repository ppa:commendsarnex/winedri3
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo add-apt-repository ppa:oibaf/gallium-nine
- Reference here for other distro repositories for gallium-nine compatible Mesa/Wine builds
Add this PPA if you are, or want to use proprietary graphics drivers:
sudo add-apt-repository ppa:ubuntu-wine/ppa
Update the software sources, update packages from new sources, and reboot:
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
1b. Update your Kernel
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D
Grab either latest stable, mainline, or daily kernel (ignore the utopic/trusty/vivid tags; kernels install fine on any Ubuntu distro for the most part)
Use https://www.kernel.org/ for reference to kernel versions.
Do not do this if you have no idea what you're doing (and especially not if using proprietary graphics drivers unless you know for sure they support the kernel you're upgrading to). More info: https://wiki.ubuntu.com/Kernel/MainlineBuilds
2. Install Wine (currently 1.7.34)
sudo apt-get install wine1.7 libp11-kit-gnome-keyring:i386 winbind
3. Initial-setup osu! Wineprefix
mkdir "$HOME/Wine Prefixes"
WINEPREFIX="$HOME/Wine Prefixes/osu!" WINEARCH=win32 winecfg
Graphics > Automatically capture the mouse in full-screen windows
Graphics > Prefer native Direct3D 9 (only applicable for open-source graphics drivers)
About > (fill in Owner and Organization with something)
4a. Install .NET Framework 2.0
WINEPREFIX="$HOME/Wine Prefixes/osu!" winetricks dotnet20
Explanation: As of 2015/02/05, you only need dotnet20 to run osu!. You don't need any higher .NET package or XNA. You could install gdiplus here if you want too.
4b. Install GDI+
WINEPREFIX="$HOME/Wine Prefixes/osu!" winetricks gdiplus
Explanation: At the very least, this make the song control buttons at the top-right of the main menu visible and usable. Not sure what else it does outside of that, but you could either skip this package and play osu! with very minor cosmetic issue, or install it to be on the safe-side. If you choose to install it, it's about a 500MB download.
5. Download and Install osu!
wget 'http://m1.ppy.sh/release/osume.exe'
mkdir $HOME/'Wine Prefixes/osu!/drive_c/Program Files/osu!'
mv 'osu!.exe' $HOME/'Wine Prefixes/osu!/drive_c/Program Files/osu!'
cd $HOME/'Wine Prefixes/osu!/drive_c/Program Files/osu!' && WINEPREFIX="$HOME/Wine Prefixes/osu!" wine 'osu!.exe'
Explanation: This downloads osu!.exe, makes a proper directory, copies the executable to that folder, and runs it with Wine to allow it to download the rest of the files.
If you decide/want to use the web installer osu!installer.exe do not install it to the default Local Settings/Application Data location, or else Wine will not make you a desktop icon! Do not use the old/full osu!installer.exe as it will try to install .NET 3.5, which is not recommended.
6. Set osu! up (login, Options)
I recommend switching over to Beta or Cutting Edge (Experimental) release stream, and then switching back to Stable if you want after game restart; this will create an osu! desktop shortcut with proper settings (if not installed to Local Settings/Application Data folder)
7. Restore backed-up Songs/Skins, and/or just play
Other Information:
- Older guide with additional notes
- WineHQ AppDB page for osu!
- My .desktop shortcut for reference
Random Updates:
- Updated osume.exe link
- If you want to use the non-gallium-nine-patched Wine, I might recommend giving wine-staging a go (seems to stay up-to-date better on the PPA, plus it gains neat features occasionally)
- Removed sarnex DRI3 PPA for Radeon (oibaf's PPA includes an updated radeon/ati driver that contains DRI3 patches)