Setting up Linux version: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
Line 9: Line 9:
Next you are going to want to create a directory on your machine for the PCSX2 code to live in. For this example, let's say the directory you create is /home/you/workspace/pcsx2. You are going to want clone the remote PCSX2 repository like so:
Next you are going to want to create a directory on your machine for the PCSX2 code to live in. For this example, let's say the directory you create is /home/you/workspace/pcsx2. You are going to want clone the remote PCSX2 repository like so:


<code>$ cd /home/you/workspace/pcsx2</code>
<code>$ cd /home/you/workspace/pcsx2</code><br />
<code>$ git clone https://github.com/PCSX2/pcsx2.git</code>
<code>$ git clone https://github.com/PCSX2/pcsx2.git</code>


You are now making a copy of the remote repository into your own directory.
You are now making a copy of the remote repository into your own directory.


==Installing the Build System==
==Installing the Build System==

Revision as of 23:04, 8 July 2014

The following is a guide on how to obtain and compile the PCSX2 source code.

Obtaining the Source Code from GitHub

PCSX2 is hosted on GitHub, a website where people can contribute to each others' programming projects using the Git version control software. GitHub is essentially just a showcase for your projects, to actually work on them you need to download and install Git itself.

Arch Linux: # pacman -S git

Next you are going to want to create a directory on your machine for the PCSX2 code to live in. For this example, let's say the directory you create is /home/you/workspace/pcsx2. You are going to want clone the remote PCSX2 repository like so:

$ cd /home/you/workspace/pcsx2
$ git clone https://github.com/PCSX2/pcsx2.git

You are now making a copy of the remote repository into your own directory.

Installing the Build System

PCSX2 uses the cmake build system to create project files and other things for multiple platforms, and GCC to compile on the linux platform. To install these you are going to want to run:

Arch 64: # pacman -S cmake gcc-multilib