Skip to content

Releases: supercosti21/zero_layer

v0.1.0 — Initial release

21 Feb 21:02
b064cdd

Choose a tag to compare

Zero Layer v0.1.0 — First Release

Universal Linux package manager with native binary translation.

What is Zero Layer?

ZL installs packages from any source on any Linux system by translating them natively at install time — no containers, no VMs, no runtime overhead. After installation, translated packages are indistinguishable from native ones.

What's included in v0.1.0

Package sources

  • pacman — Arch Linux official repositories (core, extra, community) with automatic mirror selection
  • AUR — Arch User Repository via RPC API, downloads and builds from source
  • APT — Debian/Ubuntu repositories with full .deb extraction (gz, xz, zst, bz2)
  • GitHub Releases — install any project's release binary directly (owner/repo format)

Core engine

  • ELF binary analysis with goblin — reads interpreter, needed libs, RPATH/RUNPATH, soname
  • ELF patching with elb — sets interpreter and RUNPATH for the target system (pure Rust patchelf)
  • FHS path remapping — rewrites hardcoded /usr/lib, /usr/bin, /etc paths in scripts and configs
  • Dependency graph with petgraph — topological sort, cycle detection, orphan detection
  • Persistent database with redb — tracks every installed file, library index, dependency relationships
  • SHA256 checksum verification on all downloads
  • Interactive source selection — when multiple sources have a package, ZL asks which one to use

CLI commands

  • zl install <pkg> [--from source] [-y]
  • zl remove <pkg>
  • zl search <query> [--from source]
  • zl update [pkg]

Installation

Download zl-x86_64-unknown-linux-gnu from the assets below, then:

chmod +x zl-x86_64-unknown-linux-gnu
sudo mv zl-x86_64-unknown-linux-gnu /usr/local/bin/zl

Add to PATH if needed:

echo 'export PATH="$HOME/.local/share/zl/bin:$PATH"' >> ~/.bashrc

Note: This is a glibc build (requires glibc 2.17+, works on any modern Linux distro).
Static musl builds for x86_64 and aarch64 will be available in v0.2.0 via CI.

Quick start

# Search across all sources
zl search ripgrep

# Install from pacman (Arch repos)
zl install ripgrep --from pacman

# Install from APT (Debian repos)
zl install ripgrep --from apt

# Install a GitHub release
zl install cli/cli --from github

# Interactive source selection (no --from)
zl install ripgrep

Known limitations (Phase 1)

  • AUR packages require makepkg to build — dependency on host build tools
  • No parallel downloads yet (planned for v0.2.0)
  • No GPG signature verification yet (planned for v0.2.0)
  • Static musl / aarch64 builds not yet provided

What's next (v0.2.0)

  • Parallel downloads with progress bars
  • GPG signature verification
  • RPM and AppImage support
  • Static musl builds via GitHub Actions CI
  • zl list command to show installed packages