1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages/linux/mmdebstrap.md
2023-04-08 15:25:04 +05:30

17 lines
524 B
Markdown

# mmdebstrap
> Create a Debian chroot.
> Alternative to `debootstrap`.
> More information: <https://gitlab.mister-muffin.de/josch/mmdebstrap/>.
- Create a Debian Stable directory chroot:
`sudo mmdebstrap stable {{path/to/debian-root/}}`
- Create a Debian Bookworm tarball chroot using a mirror:
`mmdebstrap bookworm {{path/to/debian-bookworm.tar}} {{http://mirror.example.org/debian}}`
- Create a Debian Sid tarball chroot with additional packages:
`mmdebstrap sid {{path/to/debian-sid.tar}} --include={{pkg1,pkg2}}`