PCSX2 Documentation/PCSX2 Build Scripts: Difference between revisions

Jump to navigation Jump to search
Line 133: Line 133:
====Add the x86 architecture to your package manager (x64 installs of 12.04 or newer only)====
====Add the x86 architecture to your package manager (x64 installs of 12.04 or newer only)====
In a terminal, type:
In a terminal, type:
````
<source lang="bash">
sudo dpkg --add-architecture i386
$ sudo dpkg --add-architecture i386
````
</source>


#### Add the multiverse package repository
====Add the multiverse package repository====
Uncomment lines looking like this, where trusty is replaced by your Ubuntu version
Uncomment lines looking like this, where trusty is replaced by your Ubuntu version
````
 
<source lang="bash">
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
````
</source>
 
====Add the PCSX2 PPA to your software sources====


#### Add the PCSX2 PPA to your software sources


In a terminal, type:   
In a terminal, type:   
```
 
<source lang="bash">
sudo add-apt-repository ppa:gregory-hainaut/pcsx2.official.ppa
sudo add-apt-repository ppa:gregory-hainaut/pcsx2.official.ppa
sudo apt-get update
sudo apt-get update
```
</source>


#### Install the package on your system
====Install the package on your system====
   
   
```
<source lang="bash">
sudo apt-get install pcsx2
sudo apt-get install pcsx2
```
</source>


## Arch Linux
==Arch Linux==
NOTE: for 64-bit architectures, multilib must be enabled in order to install PCSX2.  
NOTE: for 64-bit architectures, multilib must be enabled in order to install PCSX2.  


### PCSX2 Stable
===PCSX2 Stable===


Open a terminal, and type:  
Open a terminal, and type:  
```
<source lang="bash">
sudo pacman -S pcsx2
$ sudo pacman -S pcsx2
```
</source>


### PCSX2 Unstable
===PCSX2 Unstable===
Add or uncomment the following lines in `/etc/pacman.conf`:
Add or uncomment the following lines in `/etc/pacman.conf`:
```
<source lang="bash">
[Multilib]
[Multilib]
Include = /etc/pacman.d/mirrorlist
Include = /etc/pacman.d/mirrorlist
```
</source>
 
Refresh package list:
Refresh package list:
```
<source lang="bash">
pacman -Sy
# pacman -Sy
```
</source>


Download the tarball from the [AUR package page](https://aur.archlinux.org/packages/pcsx2-git), and unpack it.
Download the tarball from the [AUR package page](https://aur.archlinux.org/packages/pcsx2-git), and unpack it.
Open the folder that you just unpacked in a terminal, and type:  
Open the folder that you just unpacked in a terminal, and type:  
```
<source lang="bash>
makepkg -csi
$ makepkg -csi
```
</source>
This will build the package, automatically installing all dependencies. It will then prompt for your password to install the package with pacman.
This will build the package, automatically installing all dependencies. It will then prompt for your password to install the package with pacman.
ninja
782

edits

Navigation menu