# man > debrebuild(1)

---
type: CommandReference
command: debrebuild
mode: man
section: 1
source: man-pages
---

## Quick Reference
- `debrebuild hello_2.10-2_amd64.buildinfo` — dry-run, show build instructions
- `debrebuild --builder=mmdebstrap hello.buildinfo` — rebuild using mmdebstrap
- `debrebuild --buildresults=./artifacts --builder=sbuild+unshare hello.buildinfo` — rebuild with sbuild+unshare into artifacts/
- `debrebuild --builder=dpkg hello.buildinfo` — rebuild directly on host (root)
- `debrebuild --no-respect-build-path hello.buildinfo` — ignore Build-Path from buildinfo
- `debrebuild --use-tor-proxy hello.buildinfo` — fetch via Tor (requires apt-transport-tor)

## Name
debrebuild — use a buildinfo file and snapshot.d.o to recreate binary packages

## Synopsis
shell
debrebuild [options] <buildinfo>
## Options
- `--help`, `-h` — show help and exit
- `--buildresults` _DIR_ — directory for build artifacts (default: `./`)
- `--builder` _BUILDER_ — choose build backend: `none` (dry-run), `sbuild`, `mmdebstrap`, `dpkg`, `sbuild+unshare` (default: `none`)
- `--[no-]use-tor-proxy` — fetch resources via Tor (socks://127.0.0.1:9050); requires `apt-transport-tor` in host and chroot
- `--[no-]respect-build-path` — set up build to match the Build-Path from the `.buildinfo` file

Buildinfo files may be signed; signatures are ignored. Verify them beforehand (e.g., with `dscverify`) if needed.

## Examples
Rebuild with mmdebstrap and store artifacts in `./artifacts`:
shell
debrebuild --buildresults=./artifacts --builder=mmdebstrap hello_2.10-2_amd64.buildinfo
## See Also
- [dscverify(1)](http://localhost/phpMan.php/man/dscverify/1) — verify Debian source packages
- [sbuild(1)](http://localhost/phpMan.php/man/sbuild/1) — build Debian packages from source
- [mmdebstrap(1)](http://localhost/phpMan.php/man/mmdebstrap/1) — create Debian chroots without superuser privileges
- [dpkg-buildpackage(1)](http://localhost/phpMan.php/man/dpkg-buildpackage/1) — build binary or source packages from sources