mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 06:50:06 +00:00
Updated Building for Linux (markdown)
parent
0eaa854580
commit
b609b05089
@ -5,30 +5,59 @@ An unofficial PKGBUILD of Citra is available for Arch Linux on the [AUR](https:/
|
||||
You'll need to download and install the following to build Citra:
|
||||
|
||||
* [SDL2](https://www.libsdl.org/download-2.0.php)
|
||||
- Deb: `apt install libsdl2-dev`
|
||||
- Deb: `sudo apt install libsdl2-dev`
|
||||
- Arch: `pacman -S sdl2`
|
||||
- Fedora: `dnf install SDL2-devel`
|
||||
- Fedora: `sudo dnf install SDL2-devel`
|
||||
- OpenSUSE: `zypper in libSDL2-devel`
|
||||
|
||||
* [OpenSSL](https://www.openssl.org/source/) (optional)
|
||||
- Deb: `apt install libssl-dev`
|
||||
- Deb: `sudo apt install libssl-dev`
|
||||
- Arch: `pacman -S openssl-1.0`
|
||||
- Fedora: `dnf install openssl-devel`
|
||||
- Fedora: `sudo dnf install openssl-devel`
|
||||
- OpenSUSE: `zypper in openssl-devel`
|
||||
|
||||
* [Qt](http://qt-project.org/downloads) 6.2+
|
||||
- Only 6.2+ versions are tested. Lower version might or might not work. See the section **Install new Qt version** below if your distro does not provide a sufficient version of Qt
|
||||
- Deb: `apt install qt6-base-dev qt6-base-private-dev qt6-multimedia-dev`
|
||||
- Deb: `sudo apt install qt6-base-dev qt6-base-private-dev qt6-multimedia-dev`
|
||||
- You may also need `apt install qt6-l10n-tools qt6-tools-dev qt6-tools-dev-tools` to build with translation support
|
||||
- Arch: `pacman -S qt6-base qt6-multimedia qt6-multimedia-ffmpeg`
|
||||
- You will also need to install a multimedia backend, either `qt6-multimedia-ffmpeg` or `qt6-multimedia-gstreamer`.
|
||||
- Fedora: `dnf install qt6-qtbase-devel qt6-qtbase-private-devel qt6-qtmultimedia-devel`
|
||||
- Fedora: `sudo dnf install qt6-qtbase-devel qt6-qtbase-private-devel qt6-qtmultimedia-devel`
|
||||
- OpenSUSE: `zypper in qt6-base qt6-multimedia`
|
||||
|
||||
* [PORTAUDIO](http://www.portaudio.com/)
|
||||
* Deb: `sudo apt install libasound-dev`
|
||||
* Fedora: `dnf install portaudio-devel`
|
||||
* Fedora: `sudo dnf install portaudio-devel`
|
||||
* OpenSUSE Leap 15: `zypper in portaudio-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in portaudio-devel`
|
||||
|
||||
* [XORG](https://www.x.org/)
|
||||
* Deb: `sudo apt install xorg-dev libx11-dev libxext-dev`
|
||||
* Fedora: `sudo dnf install xorg-x11-server-devel libX11-devel libXext-devel`
|
||||
* OpenSUSE Leap 15: `zypper in xorg-x11-util-devel libX11-devel libXext-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in xorg-x11-util-devel libX11-devel libXext-devel`
|
||||
|
||||
* [JACK Audio Connection Kit](https://jackaudio.org)
|
||||
* Deb: `sudo apt install jackd`
|
||||
* Fedora: `sudo dnf install jack-audio-connection-kit-devel`
|
||||
* OpenSUSE Leap 15: `zypper in libjack-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in libjack-devel`
|
||||
|
||||
|
||||
* [PipeWire](https://pipewire.org)
|
||||
* Deb: `sudo apt install libpipewire-0.3-dev`
|
||||
* Fedora: `sudo dnf install pipewire-devel`
|
||||
* OpenSUSE Leap 15: `zypper in pipewire-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in pipewire-devel`
|
||||
|
||||
* [sndio](https://sndio.org/)
|
||||
* Deb: `sudo apt install libsndio-dev`
|
||||
* Fedora: `sudo dnf -y copr enable andykimpe/shadow && sudo dnf -y install sndio`
|
||||
* OpenSUSE Leap 15: `zypper in sndio-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in sndio-devel`
|
||||
|
||||
|
||||
|
||||
* **Optional dependencies needed for HLE AAC Decoding on Linux**
|
||||
- [FFMPEG](https://ffmpeg.org/download.html#build-linux) 4.0+
|
||||
* Deb: `sudo apt install ffmpeg libswscale-dev libavformat-dev libavcodec-dev libavdevice-dev`
|
||||
@ -36,6 +65,13 @@ You'll need to download and install the following to build Citra:
|
||||
* OpenSUSE Leap 15: `zypper in ffmpeg-3 ffmpeg-3-libavcodec-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in ffmpeg-4 ffmpeg-4-libavcodec-devel`
|
||||
|
||||
* **Optional dependencies**
|
||||
* [Gnome esound](https://download.gnome.org/sources/esound/)
|
||||
* Deb: `echo "esound require build use source code https://download.gnome.org/sources/esound/"`
|
||||
* Fedora: `sudo dnf install esound-devel`
|
||||
* OpenSUSE Leap 15: `zypper in libesd0-devel`
|
||||
* OpenSUSE Tumbleweed: `zypper in libesd0-devel`
|
||||
|
||||
* Compiler: GCC or Clang. You only need one of these two:
|
||||
* GCC 10.0+.
|
||||
- Deb: `apt install build-essential`
|
||||
|
Loading…
Reference in New Issue
Block a user