Table of Contents
How to compile UltraStar Deluxe on Ubuntu
You want to play? Right now? Don't have time to read the instructions? Then this one is for you!
1. The necessary packages
Open a shell, and fetch the packages with apt.
user@host:~$ sudo apt-get install fp-compiler fp-units-base fp-units-misc fp-units-fcl fp-units-i386 fp-utils libsdl1.2-dev libsdl-image1.2-dev portaudio19-dev libsqlite3-dev libfreetype6-dev libavcodec-dev libavformat-dev libswscale-dev liblua5.1-0-dev
If you have the AMD64 version of ubuntu you'll probably get an error on the fp-units-i386. But as it turns out, you don't need it
2. The Source
2.1 The SVN way
Install SVN, if you haven't already, or do it the wget way.
user@host:~$ sudo apt-get install subversion
usdx-source will be the folder where the source is saved to.
user@host:~$ svn co https://ultrastardx.svn.sourceforge.net/svnroot/ultrastardx/trunk usdx-source
2.2 The wget way
If you don't want to use SVN, do this:
user@host:~$ mkdir usdx-source user@host:~$ wget -O trunk.tar.gz http://ultrastardx.svn.sourceforge.net/viewvc/ultrastardx/trunk.tar.gz?view=tar user@host:~$ tar xvzf trunk.tar.gz -C usdx-source --strip 1
3. Compile
user@host:~$ cd usdx-source user@host:~/usdx-source$ ./configure user@host:~/usdx-source$ make user@host:~/usdx-source$ sudo make install
4. Run UltraStar Deluxe
user@host:~/usdx-source$ /usr/local/bin/ultrastardx
tadaa.wav and happy gaming :)
If something isn't working as expected on your box, or you want to read the good tutorial go to how_to_compile_usdx_using_the_makefile.