Skip to main content

Installing Dependencies

You need a few toolchain packages to build and run Sinux.

System requirements

Host (build machine)

ComponentMinimum
OSAny Linux (Arch, Ubuntu, Fedora…)
Architecturex86_64
RAM512 MiB free
Disk1 GiB free

Target (QEMU or real hardware)

ComponentRequirement
CPUx86_64 with Long Mode (post ~2003)
RAM64 MiB minimum, 256 MiB recommended
FirmwareBIOS or UEFI (Secure Boot must be OFF)
DiskOptional ATA/IDE for persistent storage

Install packages

Arch Linux

sudo pacman -S --needed \
nasm grub xorriso mtools \
qemu-system-x86 edk2-ovmf \
gcc binutils make

Ubuntu / Debian

sudo apt install \
nasm grub-pc-bin grub-efi-amd64-bin \
xorriso mtools \
qemu-system-x86 ovmf \
gcc binutils make

Fedora / RHEL

sudo dnf install \
nasm grub2-tools xorriso mtools \
qemu-system-x86 edk2-ovmf \
gcc binutils make

Once dependencies are installed, continue to Building.