build-linux.md
December 27, 2025 ยท View on GitHub
Instructions use Ubuntu package names. Package names may differ on other distros.
If it's inconvenient to install the latest version of just, use the without just instructions. The catch is that the without just instructions are more likely to change in the future, so if you're packaging openscq30 and the latest version of just is easily available, prefer the with just instructions.
Building openscq30-cli on Linux
- Install the latest version of rust
Without just
- Run
cargo build --package openscq30-cli --profile release-fast(orcargo build --package openscq30-cli --release, but it's very slow to build) - The compiled binary can be found at
target/release-fast/openscq30
With just
- Run
just build-cli-fast(orjust build-clibut it's very slow to build) - The compiled binary can be found at
build-output/openscq30
Building openscq30-gui on Linux
- Install the latest version of rust
- Install pkg-config libdbus-1-dev libxkbcommon-dev
Without just
- Run
cargo build --package openscq30-gui --profile release-fast(orcargo build --package openscq30-gui --release, but it's very slow to build) - The compiled binary can be found at
target/release-fast/openscq30-gui
With just
- Run
just build-gui-fast(orjust build-guibut it's very slow to build) - The compiled binary can be found at
build-output/openscq30-gui
Runtime Dependencies
- cosmic-icons: if a package isn't available, clone the git repo and run
just install.