pkg.soopen package index

brew / rank 5576

Install b4 with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Tool to work with public-inbox and patch archives. Version 0.15.2 via Homebrew; verified 2026-05-20. Also installable with debian: sudo apt install b4.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install b4

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add b4

Alpine Linux edge package indexes · b4 · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install b4

Debian stable package indexes · b4 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install b4

Fedora Rawhide package metadata · b4 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#b4

nixpkgs package indexes · pkgs/by-name/b4/b4/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S b4

Arch Linux sync databases · b4 · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install b4

openSUSE Tumbleweed package metadata · b4 · source: download.opensuse.org

overview

Package summary

Tool to work with public-inbox and patch archives

Commands and aliases

  • b4

history

Project history and usage

b4 is a kernel.org-hosted command-line tool for distributed development workflows built around mailing-list patches. It helps contributors, reviewers, and maintainers retrieve threads from public-inbox archives, prepare and send patch series, apply patches, collect trailers, and tie Git commits back to list discussion.

Project history

b4 grew out of the Linux kernel community's long-running email patch workflow. Its documentation states that it was created to make it easier for developers and maintainers to use distributed workflows that rely on patches and distribution lists for contribution and review.

The project is hosted under kernel.org's utilities namespace and its docs are divided by role: maintainers who receive and apply series, reviewers who inspect patches, and contributors who prepare and send work. That structure mirrors the social workflow of kernel development more than a generic Git porcelain.

Adoption history

b4's adoption follows the public-inbox and lore.kernel.org era of kernel development: instead of scraping local mailboxes, it can operate against archived mailing-list threads by message id and then produce mbox, git-am, trailer, and review workflows.

The package metadata in this batch shows b4 available through Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, and openSUSE. That is a practical sign that the tool moved from kernel-maintainer specialty into the general Unix developer toolbox.

How it is used

Maintainers use b4 commands such as mbox, am, shazam, diff, pr, ty, review, and kr to fetch patch threads, apply series, compare revisions, process pull requests, send feedback, and work with contributor keys.

Contributors use b4 prep, send, and trailers to prepare patch series, send mail, and collect reviewed-by or acked-by trailers from mailing-list discussion. Configuration is intentionally Git-native, using system, user, repository, and optional .b4-config settings.

Why package nerds care

b4 is package-nerd gold because it packages a culture, not just a command. It encodes the Linux kernel's email-first review workflow into reproducible CLI steps that can be installed on macOS and Linux without joining the whole kernel.org infrastructure by hand.

It also marks the modern public-inbox turn in open-source packaging: source history, review, and artifact provenance are stitched together by message ids, Link trailers, and git metadata rather than by a web forge alone.

Timeline

  • 2019: b4 documentation copyright begins, matching the period when kernel.org tooling around public-inbox workflows became formalized.
  • 2022: b4 end-user docs cover maintainer and contributor workflows, including patch retrieval, application, diffing, pull requests, and automated feedback.
  • 2026: b4 release notes document newer review and bug-tracking workflows, showing the tool expanding beyond patch retrieval into broader maintainer workflow support.

Related projects

  • public-inbox and lore.kernel.org provide the archived mailing-list substrate b4 works against.
  • git-am is the traditional Git patch-application workflow that b4 helps feed.
  • git-config is the configuration mechanism used by b4.
  • Patchwork and git-bug appear in b4's documented integrations and newer workflow areas.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for b4. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/gitconfig~/.gitconfigsomerepo/.git/config.b4-config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/gitconfig~/.gitconfigsomerepo/.git/config

executables

Installed executables

CommandKindExposureNote
b4executableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version0.15.2
manager updated2026-05-20
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:b4
Version0.15.2
Package managerHomebrew
Homepagehttps://b4.docs.kernel.org/en/latest/
Last updated2026-05-20T10:36:58Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

b4 0.14.2-2

helper utility to work with patches made available via a public-inbox archive

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo apt install b4
  • Section: python
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: B4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: b4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

b4

nix profile install nixpkgs#b4
  • normalized package name match
  • Matched by: B4
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/b4/b4/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

b4 0.13.0-1

helper utility to work with patches made available via a public-inbox archive

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo apt install b4
  • Section: universe/python
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: B4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: b4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

b4 0.15.2-r0

Tool to help with email-based patch workflows

https://b4.docs.kernel.org/

sudo apk add b4
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: b4
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: B4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b4 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

b4-doc 0.15.2-r0

Tool to help with email-based patch workflows (documentation)

https://b4.docs.kernel.org/

sudo apk add b4-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: b4
  • normalized package name match
  • Matched by: B4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b4-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

b4-pyc 0.15.2-r0

Precompiled Python bytecode for b4

https://b4.docs.kernel.org/

sudo apk add b4-pyc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: b4
  • 1 dependencies
  • normalized package name match
  • Matched by: B4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: b4-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

b4 0.14.3-4.fc45

A helper tool to work with public-inbox and patch series

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo dnf install b4
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-b4
  • 2 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: B4
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: b4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

b4 0.15.2-1

Helper utility to work with patches made available via a public-inbox archive like lore.kernel.org.

https://git.kernel.org/pub/scm/utils/b4/b4.git/

sudo pacman -S b4
  • License: GPL-2.0-or-later
  • Architecture: any
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: B4
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: b4 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

b4 0.15.2-1.2

Helper scripts for kernel.org patches

https://git.kernel.org/pub/scm/utils/b4/b4.git

sudo zypper install b4
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: b4
  • 7 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: B4
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: b4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/b4.yml

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation