# Building IPFire

**URL:** https://community.ipfire.org/c/installing-and-running-ipfire/building-ipfire/41.md

[Latest](https://community.ipfire.org/latest.md) · [Categories](https://community.ipfire.org/categories.md)

---

## [About the Building IPFire category](https://community.ipfire.org/t/about-the-building-ipfire-category/15582)

<div class="topic-metadata">

**Author:** [@ms](https://community.ipfire.org/u/ms)\
**Replies:** 0\
**Last updated:** [9 March 2026 13:38 UTC](https://community.ipfire.org/t/about-the-building-ipfire-category/15582 "2026-03-09T13:38:30Z")

</div>

Compile IPFire from source — discuss build environments, toolchain setup, and troubleshooting the build process

---

## [Update 204 error](https://community.ipfire.org/t/update-204-error/16221)

<div class="topic-metadata">

**Author:** [@ramfast](https://community.ipfire.org/u/ramfast)\
**Replies:** 4\
**Last updated:** [19 October 2026 17:07 UTC](https://community.ipfire.org/t/update-204-error/16221 "2026-10-19T17:07:04Z")

</div>

Hi When updating IPFire from 203 to 204, Packfire finished with error : … Oct 17 06:25:23 ipfire pakfire: DOWNLOAD STARTED: paks/perl-common-sense-3.74-5.ipfire Oct 17 06:25:23 ipfire pakfire: MIRROR INFO: 19 servers…

---

## [Would "Yocto Project" or "Buildroot" be useful for IPFire development?](https://community.ipfire.org/t/would-yocto-project-or-buildroot-be-useful-for-ipfire-development/15492)

<div class="topic-metadata">

**Author:** [@lucatrv](https://community.ipfire.org/u/lucatrv)\
**Replies:** 1\
**Last updated:** [18 February 2026 14:33 UTC](https://community.ipfire.org/t/would-yocto-project-or-buildroot-be-useful-for-ipfire-development/15492 "2026-02-18T14:33:49Z")

</div>

I know that IPFire is built following the LFS model through a custom bash script. I guess you all know about the “Yocto Project” and “Buildroot”, which are getting a lot of traction these days, so I wonder if they were c…

---

## [Re-Building from source error](https://community.ipfire.org/t/re-building-from-source-error/14183)

<div class="topic-metadata">

**Author:** [@nilrods](https://community.ipfire.org/u/nilrods)\
**Replies:** 6\
**Last updated:** [5 June 2025 18:14 UTC](https://community.ipfire.org/t/re-building-from-source-error/14183 "2025-06-05T18:14:56Z")

</div>

I am trying to build a new add-on. I worked through the building from source(from docs) and created iso and worked fine installing. I then moved to create new git branch and add code for simple add-on. Now I cannot ge…

---

## [IPFire compilation](https://community.ipfire.org/t/ipfire-compilation/12202)

<div class="topic-metadata">

**Author:** [@prichard30](https://community.ipfire.org/u/prichard30)\
**Replies:** 1\
**Last updated:** [26 September 2024 15:19 UTC](https://community.ipfire.org/t/ipfire-compilation/12202 "2024-09-26T15:19:30Z")

</div>

Hello all I try to compile fresh ipfire-2.x with correct documentations for add wazuh agent. When I do the first build, failed when “Checking for missing rootfiles…”: “8812au-20210629-e6a0d1704ccd31145800ff5eb09ec2435…

---

## [Trying to build 188](https://community.ipfire.org/t/trying-to-build-188/11999)

<div class="topic-metadata">

**Author:** [@siosios](https://community.ipfire.org/u/siosios)\
**Replies:** 18\
**Last updated:** [27 August 2024 16:21 UTC](https://community.ipfire.org/t/trying-to-build-188/11999 "2024-08-27T16:21:39Z")

</div>

ipfire-2.x\]# ./make.sh build Packaged toolchain compilation tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors unshare: unrecognized optio…

---

## [How to customize config/kernel/kernel.config.x86\_64-ipfire](https://community.ipfire.org/t/how-to-customize-config-kernel-kernel-config-x86-64-ipfire/11100)

<div class="topic-metadata">

**Author:** [@vincentmli](https://community.ipfire.org/u/vincentmli)\
**Replies:** 7\
**Last updated:** [16 February 2024 16:26 UTC](https://community.ipfire.org/t/how-to-customize-config-kernel-kernel-config-x86-64-ipfire/11100 "2024-02-16T16:26:25Z")

</div>

Hi, I am trying to build ipfire2 myself, and I want to enable some kernel features in config/kernel/kernel.config.x86\_64-ipfire, but that file has # Automatically generated file; DO NOT EDIT. # Linux/x86 6.6.15-ipfire …

---

## [Build ipfire aarch64 on odriodC4](https://community.ipfire.org/t/build-ipfire-aarch64-on-odriodc4/9670)

<div class="topic-metadata">

**Author:** [@linuxpaul](https://community.ipfire.org/u/linuxpaul)\
**Replies:** 12\
**Last updated:** [27 April 2023 18:34 UTC](https://community.ipfire.org/t/build-ipfire-aarch64-on-odriodc4/9670 "2023-04-27T18:34:05Z")

</div>

I try to build an aarch64 version for my rpi on an odroidC4 Ubuntu 22.04 mini. Building glibc fails with a this result.Tried the common workflow without any changes - INSTALL /usr/local/share/man/man8/tzselect.8 - INSTA…

---

## [Development Environment fails to build](https://community.ipfire.org/t/development-environment-fails-to-build/5999)

<div class="topic-metadata">

**Author:** [@phane](https://community.ipfire.org/u/phane)\
**Replies:** 10\
**Last updated:** [8 August 2021 18:14 UTC](https://community.ipfire.org/t/development-environment-fails-to-build/5999 "2021-08-08T18:14:33Z")

</div>

I’ve been trying to follow the instructions below, which seem out of date as there are no configuration data prompts: It fails on the ./make.sh build under stage 2 with “Building stage2 chroot: failed to run command ‘…

---

## [Zstd error during build](https://community.ipfire.org/t/zstd-error-during-build/5644)

<div class="topic-metadata">

**Author:** [@m3freak](https://community.ipfire.org/u/m3freak)\
**Replies:** 10\
**Last updated:** [3 August 2021 14:43 UTC](https://community.ipfire.org/t/zstd-error-during-build/5644 "2021-08-03T14:43:41Z")

</div>

I’m using a patch for the bnx2x module, thus I have to build a local copy of ipfire every time a new release hits. Well, I did what I always do and started a build for the new release, but I hit a snag: Jun 21 15:39:13:…

---

## [Building IPFIRE](https://community.ipfire.org/t/building-ipfire/3130)

<div class="topic-metadata">

**Author:** [@baso1972](https://community.ipfire.org/u/baso1972)\
**Replies:** 4\
**Last updated:** [1 September 2020 13:38 UTC](https://community.ipfire.org/t/building-ipfire/3130 "2020-09-01T13:38:33Z")

</div>

Managed to go through: Resulting installable .iso file but how to add source for downloaded Realtek r8168 source and compile into usable module? My first post, patience please :slight\_smile:

---

## [How to build new update](https://community.ipfire.org/t/how-to-build-new-update/1780)

<div class="topic-metadata">

**Author:** [@m3freak](https://community.ipfire.org/u/m3freak)\
**Replies:** 14\
**Last updated:** [27 April 2020 04:26 UTC](https://community.ipfire.org/t/how-to-build-new-update/1780 "2020-04-27T04:26:34Z")

</div>

I know how to checkout a fresh copy for say, core141, and build it. When a new update comes out (in this case core142), I run into problems: running the build keeps netting me files for core141. I don’t know what I’m doi…

---

## [IPFire Build Environment: Missing configuration script](https://community.ipfire.org/t/ipfire-build-environment-missing-configuration-script/922)

<div class="topic-metadata">

**Author:** [@xperimental](https://community.ipfire.org/u/xperimental)\
**Replies:** 26\
**Last updated:** [5 April 2020 09:44 UTC](https://community.ipfire.org/t/ipfire-build-environment-missing-configuration-script/922 "2020-04-05T09:44:52Z")

</div>

It’s about 10 years ago when I had an build environment of ipfire for the last time so I’m not common with its structure anymore. If I remeber right there should be a configuration file in the root directory of the buil…

---

## [IpFire build : cmake compilation error](https://community.ipfire.org/t/ipfire-build-cmake-compilation-error/1158)

<div class="topic-metadata">

**Author:** [@nuxsfm](https://community.ipfire.org/u/nuxsfm)\
**Replies:** 3\
**Last updated:** [6 February 2020 12:08 UTC](https://community.ipfire.org/t/ipfire-build-cmake-compilation-error/1158 "2020-02-06T12:08:41Z")

</div>

Hi guys, i’m currently cross-compiling IpFire for armv5tel. cmake is encountering compilation error with zlib which does not seem to be found. I don’t see how to resolve that. I would have tried a manual compilation unde…
