From c8d361f392c8072673275e3050fccc67d5bcfb6f Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Mon, 17 Nov 2025 13:29:17 -0800 Subject: [PATCH 1/5] move/consolidate installation requirements Signed-off-by: Alexa Kreizinger --- installation/downloads.md | 11 ----------- .../downloads/source/build-and-install.md | 17 ++++++++++++----- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/installation/downloads.md b/installation/downloads.md index 326d6faf7..d29b2d4df 100644 --- a/installation/downloads.md +++ b/installation/downloads.md @@ -5,17 +5,6 @@ Fluent Bit is compatible with most x86-based, x86_64-based, arm32v7-based, and arm64v8-based systems. -## Requirements - -The Fluent Bit build process requires the following components: - -- Compiler: GCC or clang -- CMake -- Flex and Bison: Required for [Stream Processor](../stream-processing/overview.md) or [Record Accessor](../administration/configuring-fluent-bit/classic-mode/record-accessor.md) -- Libyaml development headers and libraries - -Certain features of Fluent Bit depend on additional third-party components. For example, output plugins with special backend libraries like Kafka include those libraries in the main source code repository. - ## Build from source code You can [build and install Fluent Bit from its source code](../installation/downloads/source.md). There are also platform-specific guides for building Fluent Bit from source on [macOS](../installation/downloads/macos.md#compile-from-source) and [Windows](../installation/downloads/windows.md#compile-from-source). diff --git a/installation/downloads/source/build-and-install.md b/installation/downloads/source/build-and-install.md index 392b03780..ade3f675e 100644 --- a/installation/downloads/source/build-and-install.md +++ b/installation/downloads/source/build-and-install.md @@ -4,11 +4,18 @@ ## Requirements -- CMake 3.12 or greater. You might need to use `cmake3` instead of `cmake`. -- Flex -- Bison 3 or greater -- YAML headers -- OpenSSL headers +To build and install Fluent Bit from source, you must also install the following packages: + +- `bison` +- `build-essentials` +- `cmake` +- `flex` +- `libfl` +- `libssl` +- `libyaml` +- `pkg-config` + +Additionally, certain [input](../data-pipeline/inputs.md) or [output](../data-pipeline/outputs.md) plugins might depend on additional components. For example, some plugins require Kafka. ## Prepare environment From 5afb575641df86428aeb293e783d4052f6ed8a3a Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Mon, 17 Nov 2025 13:33:35 -0800 Subject: [PATCH 2/5] add -dev suffixes Signed-off-by: Alexa Kreizinger --- installation/downloads/source/build-and-install.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/downloads/source/build-and-install.md b/installation/downloads/source/build-and-install.md index ade3f675e..5ec74ff03 100644 --- a/installation/downloads/source/build-and-install.md +++ b/installation/downloads/source/build-and-install.md @@ -10,9 +10,9 @@ To build and install Fluent Bit from source, you must also install the following - `build-essentials` - `cmake` - `flex` -- `libfl` -- `libssl` -- `libyaml` +- `libfl-dev` +- `libssl-dev` +- `libyaml-dev` - `pkg-config` Additionally, certain [input](../data-pipeline/inputs.md) or [output](../data-pipeline/outputs.md) plugins might depend on additional components. For example, some plugins require Kafka. From 36f197697140c062036d7c9ec6e2e963c00aba28 Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Mon, 17 Nov 2025 13:51:52 -0800 Subject: [PATCH 3/5] fix links Signed-off-by: Alexa Kreizinger --- installation/downloads/source/build-and-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/downloads/source/build-and-install.md b/installation/downloads/source/build-and-install.md index 5ec74ff03..5a2aa920c 100644 --- a/installation/downloads/source/build-and-install.md +++ b/installation/downloads/source/build-and-install.md @@ -15,7 +15,7 @@ To build and install Fluent Bit from source, you must also install the following - `libyaml-dev` - `pkg-config` -Additionally, certain [input](../data-pipeline/inputs.md) or [output](../data-pipeline/outputs.md) plugins might depend on additional components. For example, some plugins require Kafka. +Additionally, certain [input](../pipeline/inputs.md) or [output](../pipeline/outputs.md) plugins might depend on additional components. For example, some plugins require Kafka. ## Prepare environment From f35d1edb1bfc538bf63e3990e2b7fc994754c415 Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Tue, 18 Nov 2025 10:34:08 -0800 Subject: [PATCH 4/5] Update installation/downloads/source/build-and-install.md Signed-off-by: Alexa Kreizinger --- installation/downloads/source/build-and-install.md | 1 - 1 file changed, 1 deletion(-) diff --git a/installation/downloads/source/build-and-install.md b/installation/downloads/source/build-and-install.md index 5a2aa920c..d2293af23 100644 --- a/installation/downloads/source/build-and-install.md +++ b/installation/downloads/source/build-and-install.md @@ -10,7 +10,6 @@ To build and install Fluent Bit from source, you must also install the following - `build-essentials` - `cmake` - `flex` -- `libfl-dev` - `libssl-dev` - `libyaml-dev` - `pkg-config` From a22eb894cf8a821dfc665a29c47d3a9cddcb560e Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Tue, 18 Nov 2025 19:37:58 -0800 Subject: [PATCH 5/5] Update installation/downloads/source/build-and-install.md Co-authored-by: Craig Norris <112565517+cnorris-cs@users.noreply.github.com> Signed-off-by: Alexa Kreizinger --- installation/downloads/source/build-and-install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/downloads/source/build-and-install.md b/installation/downloads/source/build-and-install.md index d2293af23..d7d2c7df7 100644 --- a/installation/downloads/source/build-and-install.md +++ b/installation/downloads/source/build-and-install.md @@ -8,7 +8,7 @@ To build and install Fluent Bit from source, you must also install the following - `bison` - `build-essentials` -- `cmake` +- `cmake` (version 3.31.6 or later) - `flex` - `libssl-dev` - `libyaml-dev`