Amber Linux Amber Linux Amber Odin
Package Odin Debian

Amber Odin

A Debian package wrapper for the upstream Odin compiler. It gives Amber Linux projects a predictable /usr/bin/odin on Linux Mint while keeping compiler updates explicit and reproducible.

Quick Start

bash
# Check for a newer upstream Odin release
make release-check

# Build and validate the Debian package
make check

# Write RELEASE.md with package metadata and checksums
make release

Features

Predictable /usr/bin/odin

Installs the official Odin compiler tree under /usr/lib/amber-odin and exposes /usr/bin/odin as a symlink.

Avoids Ubuntu package confusion

Uses the amber-odin package name so Amber Linux does not depend on Ubuntu's unrelated odin package.

Debian metadata included

Generates control files, md5sums, shlib dependencies, changelog, copyright, and a root-owned .deb.

Release manifest

Writes RELEASE.md with package version, packaged Odin version, deb path, file size, and SHA256 hash.

Upstream checks

Includes a release-check workflow for comparing the local packaged compiler against upstream Odin releases.

Build validation

The check target verifies package fields, extracts the .deb into /tmp, and runs the packaged odin version command.

Package Contract

Field Value
Package amber-odin
Provides odin-compiler
Conflicts odin
Install root /usr/lib/amber-odin
Compiler path /usr/bin/odin