Skip to content
  1. Docs
  2. Apps
  3. Developers

Building and running an app

Toolchains, native dependencies, pinned framework sources and build commands.

Each app lives in its own repository and builds as its own Cargo workspace (see App architecture and layout). Start with the app’s README for its package requirements and build command.

Toolchain

Most apps pin Rust 1.99.1 in rust-toolchain.toml. Check the chosen app revision before building. Browser also uses a separately built and pinned WPE WebKit runtime.

Native dependencies

The apps target Linux. Native dependencies vary with the app and the enabled features. Common dependencies include a C toolchain, pkg-config and the graphics and windowing libraries enzUI uses. Some apps need more:

AppAdditional build or runtime dependencies
Maillibcurl and OpenSSL development packages, plus Secret Service at runtime
MusicGStreamer 1.24 or newer with audio plugins, GLib/GIO, ALSA, OpenSSL
VideoGStreamer (base, video, audio, app), GLib/GIO and Vulkan/EGL
ReaderClang/LLD, OpenSSL, Poppler-GLib 25.2 or newer, Cairo, GLib
Fileslibarchive at runtime, GStreamer, GTK/GIO
RemoteSPICE client GLib, SQLite build prerequisites, OpenSSL, Opus, SDL2 and libsodium
MessagesFFmpeg with PulseAudio, V4L2 and H.264 support and pactl, for device checks and calls
Task Managerthe standard ps, systemctl and journalctl utilities

Build against the pinned framework

Release app manifests pin enzUI and iced to public Git revisions. Cargo fetches those sources without a separate framework checkout. Run the build command in the app’s README. For example, Text builds with:

sh
cargo build --locked

Browser uses ./tools/build and ./tools/browser to select its pinned WebKit runtime. Use CARGO_TARGET_DIR if you need an explicit build output directory.

Run checks

Start with the app’s README. Pure Rust checks usually use cargo test --locked. Tests that open windows or start native engines can require extra dependencies and a private desktop session. See Testing apps.

Run the app

The debug binary lands in target/debug/ (or under CARGO_TARGET_DIR). You can run it directly:

sh
./target/debug/text-app /path/to/document.txt

Follow the app’s README for launch options and any environment variables the runtime requires.

Most apps are single-instance: a second launch on the same session bus forwards its files or request to the existing window. Without a session bus, apps either start a standalone window or, where shared storage would otherwise have two writers, refuse to start.

AppExecutable
Mailmail-app
Storestore-app
Messagesenz-messages
Calendarcalendar-app
Musicmusic-app
Photosenz-photos
Videovideo-app
Readerreader-app
Texttext-app
Terminalterminal-emulator
Filesfiles-app
Browserenzim-browser (started with ./tools/browser)
Task Managertask-manager-app
Calculatorenz-calculator
Remoteremote-app

Install the app

Use the app’s README to register its desktop entry and icon. Distribution packages and Flatpaks supply these files during installation. See Packaging apps.