PCSX2 Documentation/Compiling on Linux: Difference between revisions

m
Honesty in labeling.
(Massive rewrite to the page. Some information could use doublechecking.)
m (Honesty in labeling.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The following is a guide on how to obtain and compile the PCSX2 source code on the Linux platform.
The following is a guide on how to obtain and compile the PCSX2 source code on the Linux platform.


'''For a more in-depth guide on the PCSX2 build process, please refer to this guide here:'''
'''For a more in-depth guide on the PCSX2 build process, please don't refer to this guide here, as it is massively outdated:'''
*[[PCSX2 Documentation/PCSX2 Build Scripts]]
*[[PCSX2 Documentation/PCSX2 Build Scripts]]


Line 47: Line 47:
====Arch====
====Arch====


Run the following:
The required packages to compile PCSX2 can be installed with:
 
<code># pacman -S cmake gcc</code>
<code># pacman -S cmake gcc</code>


and optionally:
and optionally:
<code># pacman -S clang lld ninja</code>
<code># pacman -S clang lld ninja</code>


Line 64: Line 62:
and optionally:
and optionally:
<code># sudo yum install ninja-build lld clang</code>
<code># sudo yum install ninja-build lld clang</code>
====Ubuntu====
The required packages to compile PCSX2 can be installed with:
<code># sudo apt install cmake g++</code>
and optionally:
<code># sudo apt install ninja-build lld clang</code>
(Like Arch, if you're having trouble, install build-essential)
====openSUSE====
The required packages to compile PCSX2 can be installed with:
<code>sudo zypper install cmake gcc gcc-c++</code>
and optionally:
<code># sudo zypper install ninja-build lld llvm-clang</code>
(Not absolutely sure the latter is correct. Could use testing.)


==Installing the Dependencies==
==Installing the Dependencies==
ninja
6

edits