Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Format guides

Breadbox supports raw, deb, pkg, rpm and appimage. raw works on any host. The other four require Linux.

FormatHostHost toolsConfig section
rawAnycargoNone
debLinuxdpkg-shlibdeps, dpkg-deb[formats.deb]
pkgLinuxmakepkg, fakeroot[formats.pkg]
rpmLinuxrpmbuild[formats.rpm]
appimageLinuxwget, sha256sumNone

Package names vary by distribution. Install the equivalent packages if a hint does not apply.

Select formats

--format is required for build and doctor. It accepts comma-separated values, several values after one flag or repeated flags.

breadbox build --format raw
breadbox build -f deb,rpm
breadbox doctor -f appimage

Requesting a format your host does not support is an error.

Host tool hints

FormatInstall hint
rawInstall Rust with rustup.
debUsually dpkg-dev and dpkg on dpkg-based systems.
pkgUsually base-devel on Arch-based systems.
rpmUsually rpm-build or rpm-tools.
appimageUsually wget and coreutils.

dpkg-shlibdeps is not needed when [formats.deb] shlibdeps = false. See Format sections.

Architecture mapping

Breadboxrawdebpkgrpmappimage
x86x86i386i686i686i386
x86_64x86_64amd64x86_64x86_64x86_64
armarmarmhfarmv7harmv7hlarmhf
aarch64aarch64arm64aarch64aarch64aarch64

Shared config

Linux package formats share the settings in Root keys, Linux settings, Install files and Components. Each guide below covers only what is unique to that format.

Output files

Artifact names are deterministic. A build silently replaces an existing file with the same name in --out-dir. Move or rename earlier artifacts if you need to keep them.