# Install genext2fs with Homebrew, apk, apt, dnf, MacPorts, Nix

Generates an ext2 filesystem as a normal (non-root) user. Version 1.6.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:genext2fs
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install genext2fs
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install genext2fs
```

  Evidence: MacPorts ports tree: sysutils/genext2fs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add genext2fs
```

  Evidence: Alpine Linux edge package indexes: genext2fs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install genext2fs
```

  Evidence: Debian stable package indexes: genext2fs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install genext2fs
```

  Evidence: Fedora Rawhide package metadata: genext2fs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#genext2fs
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ge/genext2fs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:genext2fs
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/genext2fs>
- **Version:** 1.6.2
- **Source summary:** Generates an ext2 filesystem as a normal (non-root) user
- **Homepage:** <https://genext2fs.sourceforge.net/>
- **Repository:** <https://github.com/bestouff/genext2fs>
- **Upstream docs:** <https://genext2fs.sourceforge.net/>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/bestouff/genext2fs/archive/refs/tags/v1.6.2.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- genext2fs (cli)
- genext2fs (alias)

## Build dependencies

- autoconf
- automake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.6.2
- Local data: ok
- Upstream repository: https://github.com/bestouff/genext2fs
- Upstream latest detected: v1.6.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

genext2fs is a small filesystem-image builder for creating ext2 filesystems without mounting an image and without running as root. Its niche is especially visible in embedded and image-building workflows, where reproducible creation of root filesystems matters more than interactive disk administration.

### Project history

The project homepage describes the original design goal plainly: generate an ext2 filesystem as a normal user, including ownership, permissions, and device nodes, without mounting the image. The GitHub repository later became the source and issue-tracking home for bug fixes and feature work.

### Adoption history

The SourceForge homepage notes that many Linux users obtain genext2fs through distribution packages. Homebrew, Debian-family, Alpine, Fedora-family, MacPorts, and Nix packaging in the input record reflect its long-running role as a build-time utility rather than an end-user application.

### How it is used

Practitioners use genext2fs to assemble ext2 images from directories, tarballs, and device-table specifications. The README documents image sizing, inode control, device node creation, stdin pipelines, fake timestamps, SOURCE_DATE_EPOCH support, and examples for flash or floppy-style images.

### Why package nerds care

genext2fs matters because it avoids privileged mounts in build systems. That makes it attractive for package builders, embedded distributions, and CI jobs that need filesystem artifacts but should not require root.

### Timeline

- 2017: the GitHub repository used by the project homepage was created.
- 2026: Homebrew packaged the 1.6.x line while the upstream README documented reproducible-build timestamp support.

### Related projects

- Related tools and concepts include ext2, device tables, reproducible-build SOURCE_DATE_EPOCH handling, and embedded Linux root filesystem image generation.

### Sources

- <https://formulae.brew.sh/formula/genext2fs>
- <https://genext2fs.sourceforge.net/>
- <https://github.com/bestouff/genext2fs>
- <https://raw.githubusercontent.com/bestouff/genext2fs/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** genext2fs
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - genext2fs - 1.5.0-3+b1: normalized package name match | Debian stable package indexes: genext2fs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ext2 filesystem generator for embedded systems | https://github.com/bestouff/genext2fs
- Nix - genext2fs: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/genext2fs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - genext2fs - 1.5.0-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: genext2fs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ext2 filesystem generator for embedded systems | https://github.com/bestouff/genext2fs
- apk - genext2fs - 1.6.2-r0: normalized package name match | Alpine Linux edge package indexes: genext2fs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generate ext2 filesystems as a normal user | https://genext2fs.sourceforge.net/
- apk - genext2fs-doc - 1.6.2-r0: normalized package name match | Alpine Linux edge package indexes: genext2fs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generate ext2 filesystems as a normal user (documentation) | https://genext2fs.sourceforge.net/
- dnf - genext2fs - 1.6.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: genext2fs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | ext2 filesystem generator | https://github.com/bestouff/genext2fs/
- MacPorts - genext2fs: normalized package name match | MacPorts ports tree: sysutils/genext2fs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [e2fsprogs](https://www.automicvault.com/pkg/brew/e2fsprogs/) - Shares av.db curated category or tags: cli, ext2, filesystems, system.
- [e2tools](https://www.automicvault.com/pkg/brew/e2tools/) - Shares av.db curated category or tags: cli, ext2, filesystems, system.
- [btfs](https://www.automicvault.com/pkg/brew/btfs/) - Shares av.db curated category or tags: cli, filesystems, system.
- [btrfs-progs](https://www.automicvault.com/pkg/brew/btrfs-progs/) - Shares av.db curated category or tags: cli, filesystems, system.
- [dosfstools](https://www.automicvault.com/pkg/brew/dosfstools/) - Shares av.db curated category or tags: cli, filesystems, system.
- [dwarfs](https://www.automicvault.com/pkg/brew/dwarfs/) - Shares av.db curated category or tags: cli, filesystems, system.
- [dysk](https://www.automicvault.com/pkg/brew/dysk/) - Shares av.db curated category or tags: cli, filesystems, system.
- [erdtree](https://www.automicvault.com/pkg/brew/erdtree/) - Shares av.db curated category or tags: cli, filesystems, system.
- [ratarmount](https://www.automicvault.com/pkg/brew/ratarmount/) - Local package facts share a topical domain. Shared terms: as, cli, filesystem, filesystems, system.

## Combined YAML source

View the package source record on GitHub. [combined/genext2fs.yml](https://github.com/automic-vault/db/blob/main/combined/genext2fs.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
