From 28b6d19bd6cacd9b9262b4caf3749353ea51ebc7 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Wed, 20 Jan 2021 12:59:06 +0100 Subject: [PATCH] README: add build instructions for rpm based distros To prevent people trying to use 3rd-party container packages that do not actually work on those distributions. --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 7df9ad9..19bdd65 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,31 @@ It should create an icon in the start menu under "Utilities" or "Accessories". The imaging utility will normally be run as regular user, and will call udisks2 over DBus to perform privileged operations like opening the disk device for writing. If udisks2 is not functional on your Linux distribution, you can alternatively start it as "root" with sudo and similar tools. +### Fedora/RHEL/CentOS Linux + +#### Get dependencies + +Install the build dependencies: + +``` +sudo yum install git gcc gcc-c++ make cmake libarchive-devel libcurl-devel openssl-devel qt5-qtbase-devel qt5-qtquickcontrols2-devel qt5-qtsvg-devel qt5-linguist +``` + +#### Get the source + +``` +git clone --depth 1 https://github.com/raspberrypi/rpi-imager +``` + +#### Build and install the software + +``` +cd rpi-imager +cmake . +make +sudo make install +``` + ### Windows #### Get dependencies