Build it yourself
You do not need to build KDOS to use it: every package comes prebuilt. This page is for anyone who wants to compile the whole system themselves, fix something, or add a program. The release ISO is made by the same make build anyone can run from a clone of the repository.
Building
You need a Linux machine with Docker, git and curl, about 120 GB of free disk, and a day or more for the first build. make fetch downloads every upstream source, about 43 GB, from KDOS's own source archive or from upstream, and checks each against the SHA-256 checksum its recipe names. make build builds its container image (from the network, the first time), then compiles everything inside it with no network at all.
git clone https://github.com/kunaldawn/kdos
cd kdos
make fetch # every source, about 43 GB
make build # the result is build/iso-build/kdos.iso
make run # boot it in QEMUmake run needs QEMU, OVMF firmware and /dev/kvm, and gives the virtual machine an empty disk to install to. To change one thing you do not rebuild everything: a single port (the recipe for one piece of software), or one piece of KDOS's desktop code, can be rebuilt on its own.
- How KDOS is built follows a build from the clone to the ISO, phase by phase.
- Developing lists what a development machine needs, and Rebuilding one thing the short loops.
- KDOS from Scratch is the same build as a book, with an entry for every package.
Help and contributing
On a KDOS machine, kdos doctor checks the system for the things that commonly break, and kdos version says which release it runs. For a bug or a question, open an issue on GitHub with the output of both. Read Known gaps first: what it lists is already known.
The easiest way to contribute is a port, a recipe for one piece of software. Writing ports explains the format and walks through adding one, and Testing the checks a change has to pass.
Licence
KDOS's own code is under the MIT licence, except kdos-bb (GPL-2.0-or-later) and kdos-sddm-theme (LGPL-2.0-or-later), which derive from other projects and keep their licences. kdos-icons, kdos-pack, kdos-packd, kdos-splash, kdos-tools and kpkg also include files from other projects, under those projects' licences. Every other port is its upstream's code under its upstream's terms. On a KDOS machine, kpkg info <port> names a package's licence and /usr/share/licenses/<port>/ holds the texts.
Headings, labels and all of Phosphor mode are set in Terminus, and code otherwise in JetBrains Mono, both under the SIL Open Font License 1.1 (Terminus, JetBrains Mono).