Wanted to try out Odin — a data-oriented systems language built as a modern alternative to C — on the Debian desktop. Building from source turned out to be genuinely straightforward, no surprises.
Prerequisites: Debian’s stock repos already had everything needed — clang 19.1.7 and llvm 19 were both current enough (Odin supports LLVM 17–22), so no need to add the apt.llvm.org repo that’s sometimes necessary on older distros.
Build steps:
- Cloned the repo:
git clone https://github.com/odin-lang/Odin(576 MB, includes Git LFS assets pulled automatically during clone) - Ran
git lfs installto set up hooks - Compiled with
make release-native— a singleclang++invocation linking againstlibLLVM-19.so, done in a couple of minutes - No
atomic.herrors this run — that’s a known gotcha on some Debian setups wherelibstdc++-<version>-devis missing, but this build didn’t hit it - Added
~/OdintoPATHvia.bashrc
Verification: odin version confirmed the build (dev-2026-09:ec0bd121d), then compiled and ran a minimal hello-world with odin run hello.odin -file — clean output, no linker issues.
Next up: actually writing something in it.