debootstrap
Create a basic Debian system. More information: <https://wiki.debian.org/Debootstrap>.
Install
- All systems
-
curl cmd.cat/debootstrap.sh
- Debian
-
apt-get install debootstrap - Ubuntu
-
apt-get install debootstrap -
Alpine
-
apk add debootstrap - Arch Linux
-
pacman -S debootstrap - Kali Linux
-
apt-get install debootstrap - Fedora
-
dnf install debootstrap - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install debootstrap - Raspbian
-
apt-get install debootstrap - Docker
-
docker run cmd.cat/debootstrap debootstrappowered by Commando
Create a basic Debian system. More information: <https://wiki.debian.org/Debootstrap>.
-
Create a Debian stable release system inside the `debian-root` directory:
sudo debootstrap stable path/to/debian-root/ http://deb.debian.org/debian -
Create a minimal system including only required packages:
sudo debootstrap --variant=minbase stable path/to/debian-root/ -
Create an Ubuntu 20.04 system inside the `focal-root` directory with a local mirror:
sudo debootstrap focal path/to/focal-root/ file:///path/to/mirror/ -
Switch to a bootstrapped system:
sudo chroot path/to/root -
List available releases:
ls /usr/share/debootstrap/scripts/
© tl;dr; authors and contributors