The PCSX2 package provides a PlayStation 2 (PS2) emulator.
This may take a while to build. Feel free to do something else while this is building.
Recommended game patch collection: https://github.com/PCSX2/pcsx2_patches/releases/download/latest/patches.zip
CMake, cURL, D-Bus, Extra-CMake-Modules (ECM), FFmpeg, FreeType2, libpcap, libpng, libjpeg-turbo, libwebp, PlutoSVG-0.0.7, and SDL3
alsa-lib, EGL (libglvnd or Mesa; Mesa's GL is not supported) gstreamer, libbacktrace-b9e400, KDDockWidgets, PulseAudio, Qt-6, Shaderc-2026.1, Speex, Vulkan-Headers, Wayland, Wayland-Protocols, and Xorg Libraries
alsa-utils and LLVM
Adjust where data gets installed to:
sed '/CMAKE_INSTALL_FULL_DATADIR/s@/PCSX2\b@/'"pcsx2@" \ -i pcsx2/CMakeLists.txt cmake/BuildParameters.cmake
Install PCSX2 by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D QT_NO_PRIVATE_MODULE_WARNING=ON \
-D PACKAGE_MODE=ON \
-D USE_VULKAN=ON \
-D WAYLAND_API=ON \
-D X11_API=ON \
-W no-dev -G Ninja .. &&
ninja
Now, as the root user:
ninja install &&
ln -svf pcsx2-qt /usr/bin/pcsx2 &&
ln -sfv /usr/share/pcsx2/resources/icons/AppIconLarge.png \
/usr/share/pixmaps/pcsx2.png
Ensure PCSX2 can have net capabilities, as the root user:
setcap cap_net_admin,cap_net_raw=eip /usr/bin/pcsx2-qt
If you downloaded the recommended game patch collection, install it
in the proper location as the root
user:
cp -v ../../patches.zip /usr/share/pcsx2/resources
Create a desktop file so it can be launched with launchers, as the
root user:
mkdir -pv /usr/share/applications &&
cat > /usr/share/applications/pcsx2.desktop << EOF
[Desktop Entry]
Name=PCSX2
Comment=PlayStation 2 emulator
GenericName=PlayStation 2 emulator
Exec=pcsx2-qt %f
Terminal=false
Icon=pcsx2
Categories=Game;Emulator;
StartupNotify=true
StartupWMClass=pcsx2
EOF