summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2021-01-15 03:50:32 +0000
committerGeorge Peter Banyard <girgias@php.net>2021-01-15 03:50:32 +0000
commiteec11c29d712f881f6a82a1e091e1c9813e3f385 (patch)
treeeee3909b7b4f9b314a1936bd5f13f6c5c2b52cff /README.md
parentdf30f09be5dbb9bbed10d018aa44ea38af6e6967 (diff)
downloadphp-git-eec11c29d712f881f6a82a1e091e1c9813e3f385.tar.gz
[skip-ci] Add minimal build instruction for Fedora
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index 18ee18a918..fda7f82d4e 100644
--- a/README.md
+++ b/README.md
@@ -40,12 +40,17 @@ For other systems, see the [installation chapter](https://php.net/install).
*For Windows, see [Build your own PHP on Windows](https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2).*
For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For
-a default build, you will additionally need libxml2 and libsqlite3. On Ubuntu,
-you can install these using:
+a default build, you will additionally need libxml2 and libsqlite3.
+
+On Ubuntu, you can install these using:
sudo apt install -y pkg-config build-essential autoconf bison re2c \
libxml2-dev libsqlite3-dev
+On Fedora, you can install these using:
+
+ sudo dnf install re2c bison autoconf make libtool ccache libxml2-devel sqlite-devel
+
Generate configure:
./buildconf