Citra (Source)

Citra (Source)
Citra (Source)
File Size:
33.68 MB
18 February 2024
117 x

Citra is a work-in-progress Nintendo 3DS emulator started in early 2013. Citra can currently emulate, with varying degrees of success, a wide variety of different homebrew applications and commercial software.



You'll need to download and install the following to build Citra:

  • SDL2
    • Deb: apt install libsdl2-dev
    • Arch: pacman -S sdl2
    • Fedora: dnf install SDL2-devel
    • OpenSUSE: zypper in libSDL2-devel
  • OpenSSL
    • Deb: apt install libssl-dev
    • Arch: pacman -S openssl-1.0
    • Fedora: dnf install openssl-devel
    • OpenSUSE: zypper in openssl-devel
  • Qt 5.9+
    • Only 5.9+ versions are tested. Lower version might or might not work.
    • Deb: apt install qtbase5-dev libqt5opengl5-dev qtmultimedia5-dev
      • You may also need apt install libqt5multimedia5-plugins to get the camera working
    • Arch: pacman -S qt5
    • Fedora: dnf install qt5-qtmultimedia-devel
    • OpenSUSE: zypper in libQt5Multimedia5 libqt5-qtmultimedia-devel libQt5Concurrent-devel
  • Optional dependencies needed for HLE AAC Decoding on Linux
    • FDK-AAC
      • Deb: apt install libfdk-aac-dev
      • Arch: pacman -S libfdk-aac
      • Fedora: dnf install fdk-aac-devel
      • OpenSUSE: zypper in fdk-aac-devel
    • FFMPEG 4.0+
      • Deb: sudo apt install ffmpeg libswscale-dev libavformat-dev libavcodec-dev libavdevice-dev
      • Fedora: dnf install ffmpeg-devel compat-ffmpeg4
      • OpenSUSE Leap 15: zypper in ffmpeg-3 ffmpeg-3-libavcodec-devel
      • OpenSUSE Tumbleweed: zypper in ffmpeg-4 ffmpeg-4-libavcodec-devel
  • Compiler: GCC or Clang. You only need one of these two:
    • GCC 7.0+.
      • Deb: apt install build-essential
      • Arch: pacman -S base-devel
      • Fedora: dnf install gcc-c++
      • OpenSUSE: zypper in gcc-c++
    • Clang 5.0+
      • Deb: apt install clang clang-format libc++-dev (in some distros, clang-5.0).
      • Arch: pacman -S clanglibc++ is in the AUR. Use pacaur or yaourt to install it.
      • Fedora: dnf install clang libcxx-devel
      • OpenSUSE: zypper in clang
  • CMake 3.8+
    • Deb: apt install cmake
    • Arch: pacman -S cmake
    • Fedora: dnf install cmake
    • OpenSUSE: zypper in cmake extra-cmake-modules
  • Note on Boost library: you don't need to install Boost library on your system, because citra provides a bundled trimmed Boost library. However, if you already have Boost library installed on your system, please make sure its version is at least 1.66 (which contains a bug fix for GCC 7), otherwise compilation would fail.

Cloning Citra in Git:

git clone --recursive
cd citra

The --recursive option automatically clones the required Git submodules too.

Building Citra:

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -- -j"$(nproc)"
sudo make install (optional)
  • To enable HLE AAC Decoding, use cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_FFMPEG_AUDIO_DECODER=ON instead.
Powered by Phoca Download