This repository contains the source code of the LearnixOS kernel — an educational operating system written in Rust.
This operating system is built from scratch and explained in detail in the LearnixOS Book which aims to explain the subject of operating system while implementing one.
The repository uses git submodules, and the build fails without them. Clone with --recurse-submodules to fetch them along with the main repository:
git clone --recurse-submodules https://github.com/sagi21805/LearnixOS.gitIf you already cloned without it, fetch the submodules from inside the repository:
git submodule update --init --recursiveThis projects uses QEMU as the virtualization layer to run the kernel locally.
To download QEMU for your platform, click here
This project is built in Rust as the main programming language.
To download Rust for your platform click here
Then simply build the project with
cargo xtask runThis codebase is dual-licensed under:
- MIT License (LICENSE-MIT)
- Apache License 2.0 (LICENSE-APACHE)
You can freely use, modify, and redistribute this code under either license, at your option.
