Compiling Mixxx is fairly straightforward on Linux. The steps below outline what a user needs to do in order to compile Mixxx for themselves, if for instance, they wanted to try the latest changes in SVN.
Mixxx relies on several external libraries for various features. If your distribution is Debian based (such as Ubuntu), you can install them by running:
sudo apt-get build-dep mixxx sudo apt-get install subversion sudo apt-get install scons sudo apt-get install libqt4-dev
For other distributions, you will need to install the following through your distribution's package manager:
If you want to compile Mixxx, you'll need to download the source code. Either grab the source for the latest release off our downloads page, or checkout a snapshot from SVN:
svn co https://mixxx.svn.sourceforge.net/svnroot/mixxx/trunk/mixxx
If you got the source code from SVN, change to the newly created “mixxx” directory, and use scons to compile and install:
cd mixxx sudo scons prefix=/usr install
Strongly recommended: To optimize compilation for the CPU you're on if using GCC 4.2 and above, add tuned=1 to the list of scons options. To optimize for another CPU, use optimize=# where # is in the range 1-4: 1 is single-core (P-III and below,) 2 is for P4, 3 is for Intel Core, 4 is for Core 2…
If you have a Hercules DJ Console, be sure you enable the djconsole=1 (MK2 & RMX) or djconsole_legacy=1 (mp3, MK1)
If you wanted to update later to a newer SVN snapshot, you would go back to the mixxx directory and run:
svn update