From 0dbb50a13af5a87a37fe577900246b7933f913a8 Mon Sep 17 00:00:00 2001 From: Mat931 <49403702+Mat931@users.noreply.github.com> Date: Sat, 8 Jun 2024 07:52:23 +0000 Subject: [PATCH] Add core dependencies for Fedora (#1867) --- docs/development_environment.mdx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/development_environment.mdx b/docs/development_environment.mdx index f1d11a5b..b75df118 100644 --- a/docs/development_environment.mdx +++ b/docs/development_environment.mdx @@ -65,7 +65,7 @@ _You only need these instructions if you do not want to use devcontainers._ It is also possible to set up a more traditional development environment. See the section for your operating system. Make sure your Python version is 3.12. -### Developing on Linux +### Developing on Ubuntu / Debian Install the core dependencies. @@ -74,6 +74,15 @@ sudo apt-get update sudo apt-get install python3-pip python3-dev python3-venv autoconf libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libswresample-dev libavfilter-dev ffmpeg libgammu-dev ``` +### Developing on Fedora + +Install the core dependencies. + +```shell +sudo dnf update +sudo dnf install python3-pip python3-devel python3-virtualenv autoconf openssl-devel libxml2-devel libxslt-devel libjpeg-turbo-devel libffi-devel systemd-devel zlib-devel pkgconf-pkg-config libavformat-free-devel libavcodec-free-devel libavdevice-free-devel libavutil-free-devel libswscale-free-devel ffmpeg-free-devel libavfilter-free-devel ffmpeg-free gcc gcc-c++ cmake +``` + ### Developing on Windows To develop on Windows, you will need to use the Linux subsystem (WSL). Follow the [WSL installation instructions](https://learn.microsoft.com/windows/wsl/install) and install Ubuntu from the Windows Store. Once you're able to access Linux, follow the Linux instructions.