Building Dolphin on Linux: Difference between revisions

Jump to navigation Jump to search
Line 6: Line 6:
=== Ubuntu ===
=== Ubuntu ===
Follow the steps below only if you like to make your own package or use a specific git commit version. There's a [https://wiki.dolphin-emu.org/index.php?title=Installing_Dolphin#Ubuntu PPA] with Dolphin already built, easy to use.
Follow the steps below only if you like to make your own package or use a specific git commit version. There's a [https://wiki.dolphin-emu.org/index.php?title=Installing_Dolphin#Ubuntu PPA] with Dolphin already built, easy to use.
==== 12.04 LTS ====
''Follow this step for Ubuntu 12.04 LTS.''<br>
You need to install a g++ version with C++0x/C++11 support, so install this PPA first:
<pre>sudo add-apt-repository ppa:dolphin-emu/gcc-for-dolphin
sudo apt-get update</pre>
This PPA will update libstdc++6 package too, which is an important component from the system, so be careful and use at your own risk.
Cmake needs to be updated too:
<pre>sudo add-apt-repository ppa:kalakris/cmake
sudo apt-get update</pre>
There is no ppa for libevdev-dev, so you will need to build libevdev from source, or disable the evdev backend (<code>cmake .. -DENABLE_EVDEV=OFF -DENABLE_SDL=ON</code>)
Now, install all necessary packages by running the following command:
<pre>sudo apt-get install cmake pkg-config git gcc-4.9 g++-4.9 libao-dev libasound2-dev libgl1-mesa-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline-dev libsdl1.2-dev libsoil-dev libxext-dev libxrandr-dev zlib1g-dev libudev-dev</pre>


==== 14.04 LTS ====
==== 14.04 LTS ====