sudo dnf config-manager -set-enabled powertools # Required for ninja-build and nasm.
(CentOS 8 does not have g++-10, so it is even less trivial to build yuzu there.) Fortunately, at least Rocky Linux 8 makes g++-10 available directly in the package manager, so it’s just a matter of finding the other smaller dependencies.
Debian cmake install install#
sudo dnf install alsa-lib-devel autoconf cmake gcc gcc-c++ git glslang hidapi-devel libXext-devel libtool libusbx-devel nasm pulseaudio-libs-devel python3 python3-pip qt5-linguist qt5-qtbase-devel qt5-qtbase-private-devel qt5-qtwebengine-devel ninja-build.GNinja -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 Users need to manually disable building SDL2 from externals if they intend to use the version provided by their system by adding the parameters -DYUZU_USE_EXTERNAL_SDL2=OFFĬmake.This can be done by adding the parameters -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 when running CMake. Users need to manually specify building with GCC 10.This is done using the parameter -DYUZU_USE_QT_WEB_ENGINE=ON when running CMake. Users need to manually specify building with QT Web Engine enabled.Ubuntu 20.04, Linux Mint 20, or Debian Bullseye or later is required.sudo apt-get install autoconf cmake g++-10 gcc-10 git glslang-tools libasound2 libboost-context-dev libglu1-mesa-dev libhidapi-dev libpulse-dev libtool libudev-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxext-dev libxkbcommon-x11-0 mesa-common-dev nasm ninja-build python3 python3-pip qtbase5-dev qtbase5-private-dev qtwebengine5-dev libmbedtls-dev.Building with QT Web Engine needs to be specified when running Cmake with the param -DCMAKE_CXX_FLAGS="-I/usr/include/qt/QtWebEngineWidgets" with qt5-webengine installed.sudo pacman -Syu -needed base-devel boost catch2 cmake ffmpeg fmt git glslang libzip lz4 mbedtls ninja nlohmann-json openssl opus python-pip python2 qt5 sdl2 zlib zstd.Of course, they should be inspected before being run. If version 5.15.2 is not already installed, pre-compiled binaries for Qt 5.15.2 will be downloaded from here automatically by CMake:Īll other dependencies will be downloaded by Conan if needed:ĭependencies are listed here as commands that can be copied/pasted.
If version 1.73.0 is not already installed, pre-compiled binaries for Boost 1.75.0 will be downloaded from here automatically by CMake: The following are handled by yuzu’s externals, but installing them via the package manager will avoid building them with yuzu:
Debian cmake install download#
You’ll need to download and install the following to build yuzu: As it is an AppImage, it only needs to be downloaded and made executable to use it. Users looking to simply run yuzu should try downloading Mainline first.