mirror of https://github.com/PCSX2/pcsx2.git
Updated Installing on Linux (markdown)
parent
b610bbfcd2
commit
588060d08d
|
@ -1,15 +1,9 @@
|
|||
## Index
|
||||
|
||||
1. [Introduction](#introduction)
|
||||
2. [CMake Build System](#cmake-build-system)
|
||||
2. [CMake Build System](#using-cmake)
|
||||
3. [Debugging](#debugging)
|
||||
4. [Fedora](#fedora)
|
||||
5. [OpenSUSE Tumbleweed](#opensuse-tumbleweed)
|
||||
6. [Ubuntu PPA](#ubuntu-ppa)
|
||||
7. [Arch Linux](#arch-linux)
|
||||
8. [Ubuntu 20.04 - 64bit](#how-to-compile-pcsx2-in-2021-ubuntu-2004-64bit)
|
||||
9. [Fedora](#how-to-compile-pcsx2-in-2021-fedora)
|
||||
10. [Gentoo](#how-to-compile-pcsx2-in-2020-gentoo--derivatives)
|
||||
4. [Outdated](#on-to-some-outdated-stuff)
|
||||
|
||||
## Introduction
|
||||
|
||||
|
@ -157,110 +151,13 @@ The built executable can then be debugged using `gdb ./bin/PCSX2`. Make sure you
|
|||
|
||||
### Segmentation Faults
|
||||
|
||||
Segmentation faults (`SIGSEGV`) are [expected](https://github.com/PCSX2/pcsx2/issues/1806#issuecomment-278268282) when running recompiled code such as a game in PCSX2. When a segmentation fault occurs, use `bt` and check if the backtrace contains `recExecute`. If it does then continue execution using `c`.
|
||||
Segmentation faults (`SIGSEGV`) are [expected](https://github.com/PCSX2/pcsx2/issues/1806#issuecomment-278268282) when running recompiled code such as a game in PCSX2. When a segmentation fault occurs, use `bt` and check if the backtrace contains `recExecute`. If it does then continue execution using `c`.
|
||||
|
||||
Additionally, segfault printing can be disabled entirely in GDB using the command `handle SIGSEGV noprint`.
|
||||
|
||||
## Fedora
|
||||
-----
|
||||
|
||||
Just Add Rpmfusion non-free repo:
|
||||
https://rpmfusion.org/Configuration
|
||||
|
||||
Then install PCSX2 by terminal command:
|
||||
```
|
||||
sudo dnf install pcsx2
|
||||
```
|
||||
|
||||
## OpenSUSE Tumbleweed
|
||||
|
||||
Just add the `Emulators` repo and install pcsx2
|
||||
```
|
||||
sudo su - # (become root)
|
||||
zypper ar http://download.opensuse.org/repositories/Emulators/openSUSE_Tumbleweed/Emulators.repo
|
||||
zypper ref
|
||||
zypper in pcsx2
|
||||
```
|
||||
|
||||
## Ubuntu PPA
|
||||
|
||||
With multiarch functionality, you can install a 32-bit PPA on a 64-bit Ubuntu. You need at least Ubuntu 12.04 (Precise) to do this.
|
||||
|
||||
#### Add the x86 architecture to your package manager (x64 installs of 12.04 or newer only)
|
||||
|
||||
**WARNING, ONLY DO THIS IF ON THE x86_64/AMD64 or x86/i386 ARCHITECTURES**
|
||||
|
||||
`dpkg --print-architecture` should return `amd64` or `i386`, otherwise this will NOT work and likely break your install<br />
|
||||
You have been warned!
|
||||
|
||||
In a terminal, type:
|
||||
````
|
||||
sudo dpkg --add-architecture i386
|
||||
````
|
||||
|
||||
#### Add the multiverse package repository
|
||||
|
||||
Uncomment lines looking like this, where trusty is replaced by your Ubuntu version
|
||||
````
|
||||
deb 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-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
|
||||
````
|
||||
|
||||
#### Add the PCSX2 PPA to your software sources
|
||||
|
||||
In a terminal, type:
|
||||
```
|
||||
sudo add-apt-repository ppa:gregory-hainaut/pcsx2.official.ppa
|
||||
sudo apt-get update
|
||||
```
|
||||
|
||||
##### Daily Builds
|
||||
|
||||
We also have a PPA with the daily builds of `pcsx2-unstable` if
|
||||
you prefer the bleeding edge.
|
||||
```
|
||||
sudo add-apt-repository ppa:pcsx2-team/pcsx2-daily
|
||||
sudo apt-get update
|
||||
```
|
||||
|
||||
#### Install the package on your system
|
||||
|
||||
To install the latest stable release:
|
||||
```
|
||||
sudo apt-get install pcsx2
|
||||
```
|
||||
To install a newer, development version:
|
||||
```
|
||||
sudo apt-get install pcsx2-unstable
|
||||
```
|
||||
|
||||
## Arch Linux
|
||||
|
||||
### Main repo
|
||||
|
||||
Open a terminal, and type:
|
||||
```
|
||||
sudo pacman -S pcsx2
|
||||
```
|
||||
|
||||
### Aur
|
||||
Note that pcap functionality will be enabled on AUR for netplay use.
|
||||
|
||||
Clone the AUR package, then cd to the correct folder, make and install the package:
|
||||
```
|
||||
git clone https://aur.archlinux.org/pcsx2-git.git
|
||||
cd pcsx2-git
|
||||
makepkg -csi
|
||||
```
|
||||
This will build the package, automatically installing all dependencies. It will then prompt for your password to install the package with pacman.
|
||||
|
||||
Alternatively use an AUR helper like yay or paru
|
||||
|
||||
```
|
||||
yay -S pcsx2-git
|
||||
```
|
||||
## On to some outdated stuff!!##
|
||||
## On to some outdated stuff!!
|
||||
|
||||
Note, it is 2023, not 2021. Both 2021 sets of instructions are outdated, as they are for wx builds. Leaving until they can be properly updated to qt 6, as most of the list of dependencies should be useful.
|
||||
|
Loading…
Reference in New Issue