All work

unpakt

Install any Linux app for your user, on any distro, with one-step rollback

Role
Solo project
When
2026

Overview

A Rust CLI and GTK 4 app that installs Linux apps per user from a file, a URL or a GitHub release, on any distribution, with a compatibility check before anything changes.

The constraint

Many apps ship only a .deb or an AppImage, and installing a vendor package normally means running its scripts as root on a distro it wasn't built for.

What I built

  1. 01

    Unpacks .deb, .rpm and pacman packages with its own format readers into the user's home, and runs AppImages in place or extracted where FUSE 2 is missing.

  2. 02

    A compatibility check inspects ELF binaries for missing host libraries, paths that won't exist outside /opt, system services and risky install scripts before anything is written.

  3. 03

    Filesystem changes go through a transaction that journals each step before acting, so an error, Ctrl-C or power cut is undone (or finished) on the next run.

  4. 04

    Given a GitHub repository, it picks the right release asset for the machine; update keeps the installed format and rollback restores the previous version.

  5. 05

    For a .deb or .rpm of the host's own distro family, it can hand off to PackageKit for a system-wide install, only after explicit consent.

Request path

  1. unpakt CLI / GTK app
  2. Source (file, URL, GitHub)
  3. Format reader
  4. Compatibility check
  5. Journaled transaction
  6. ~/.local

From the code

crates/unpakt-core/src/txn.rssource
/// Records `step`, then creates `dir`. If the directory is not created/// (for instance because something else made it first) the step is taken/// back out of the log and the journal, so undo never touches it.fn mkdir(&mut self, dir: &Path, step: Undo) -> Result<()> {    self.note(step)?;    if let Err(e) = fs::create_dir(dir) {        self.log.pop();        if let Some(j) = &mut self.journal {            j.retract_last()?;        }        return Err(e).at(dir);    }    Ok(())}

Outcome

Shipped through 0.3.0 with a one-line installer, an Arch repo, a .deb and an AppImage, checksummed releases and shell completion for bash, zsh and fish.

  • Rust
  • GTK 4
  • libadwaita
  • Linux
  • PackageKit
  • D-Bus

Next project

Campus Connect

Campus delivery platform that batches orders into scheduled vendor runs