Skip to content

Installation

Giwi edited this page Nov 22, 2026 · 2 revisions

Installation

Requirements

  • Rust stable, version 1.85 or newer
  • Linux: ALSA development headers, pkg-config, X11 or Wayland development libraries for eframe
  • Windows: MSVC Rust toolchain. SQLite is bundled and audio uses WASAPI.

Linux

Debian / Ubuntu:

sudo apt install libasound2-dev pkg-config libxkbcommon-dev

Fedora:

sudo dnf install alsa-lib-devel pkg-config libxkbcommon-devel

Arch:

sudo pacman -S alsa-lib pkgconf libxkbcommon

If you cannot install packages, run this once from the repository:

./scripts/dev-env.sh

It downloads the distro ALSA development package into .sysroot/ without root. .cargo/config.toml and core/build.rs pick it up automatically.

Build

cargo build --release

Binaries:

  • target/release/musicwasp - GUI
  • target/release/musicwasp-cli - CLI

Run the GUI:

cargo run --release -p musicwasp-gui

Windows

Install Rust with the MSVC toolchain, then:

cargo build --release

Releases

Download a prebuilt archive from the releases page.

Archives are published for Linux, Windows, macOS arm64 and macOS x86_64. Linux archives include the desktop entry, icons, sample skins, translation catalogues and install script. Windows and macOS archives include the GUI and CLI binaries.

Each tagged release also publishes musicwasp-<tag>-sbom.cdx.json, a CycloneDX 1.6 SBOM of the workspace and its Cargo dependency graph.

Linux desktop launcher

cargo build --release
./scripts/install-desktop.sh

The launcher is installed in ~/.local/share/applications/; the icon is copied into the hicolor theme. The application id is musicwasp, matching StartupWMClass in the desktop entry.

Data location

By default, the library database and settings live in the OS application data directory:

  • Linux: ~/.local/share/musicwasp/
  • Windows: %APPDATA%\musicwasp\

Set MUSICWASP_DATA_DIR for a portable or isolated library:

MUSICWASP_DATA_DIR=/path/to/data musicwasp

See Configuration for settings, skins and database details.

Clone this wiki locally