This guide walks you through everything needed to build and run Pacto from source on Ubuntu Linux. You will install the required system packages, the Rust toolchain, Node.js, and pnpm — then clone the repo, install dependencies, and launch the app.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/covenant-gov/pacto-app/llms.txt
Use this file to discover all available pages before exploring further.
Install system packages
| Package | Purpose |
|---|---|
build-essential | C/C++ compiler and build tools (gcc, g++, make) |
cmake | Build system required by native Rust dependencies (e.g. whisper-rs-sys) |
clang / libclang-dev | Required by bindgen to generate Rust FFI bindings during build |
curl / wget | Network utilities for downloading |
git | Version control for cloning the repository |
pkg-config | Helper tool for compiling libraries |
libvulkan-dev | Vulkan headers/libraries used by Whisper acceleration on Linux |
libwebkit2gtk-4.1-dev | WebKit rendering engine for the Tauri UI |
libxdo-dev | X11 input simulation library |
libssl-dev | OpenSSL development headers |
libayatana-appindicator3-dev | System tray integration |
librsvg2-dev | SVG rendering library |
libasound2-dev | ALSA audio library for sound support |
Install Rust
Install Node.js
Install Node dependencies
Set up environment and run the app
pnpm tauri:dev can take several minutes because Cargo downloads and compiles all Rust dependencies. Subsequent builds are much faster.Troubleshooting
WebKit not found — `could not find system library 'webkit2gtk-4.1'`
WebKit not found — `could not find system library 'webkit2gtk-4.1'`
OpenSSL errors — `failed to run custom build command for 'openssl-sys'`
OpenSSL errors — `failed to run custom build command for 'openssl-sys'`
pkg-config:bindgen / libclang / cmake errors — `failed to run custom build command`
bindgen / libclang / cmake errors — `failed to run custom build command`
Vulkan errors on Linux (Whisper) — `failed to compile with Vulkan support`
Vulkan errors on Linux (Whisper) — `failed to compile with Vulkan support`
Rust not found after installation
Rust not found after installation
Permission denied during pnpm install
Permission denied during pnpm install