Skip to content

Building the Binary or Package(s) Yourself

Jason Gray edited this page Oct 23, 2022 · 2 revisions

Building a Binary

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install Dependencies

Debian and Family:

sudo apt update && sudo apt install git libasound2-dev pkg-config

Fedora and Family:

sudo dnf install git alsa-lib-devel

Clone the repo

git clone https://github.com/JasonLG1979/asound-conf-wizard.git

Compile

cd asound-conf-wizard
cargo build --profile default

A binary named awiz will be in ./target/default/

Building a Deb

The .debs built target Debian Stable. Your mileage may vary on Debian derivatives.

They depend on:

Build just for your Machine's Architecture

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install cargo-deb

cargo install cargo-deb

Install Dependencies

sudo apt update && sudo apt install git libasound2-dev pkg-config

Clone the repo

git clone https://github.com/JasonLG1979/asound-conf-wizard.git

Build the deb

cd asound-conf-wizard
cargo-deb --profile default

A asound-conf-wizard .deb will be in ./target/debian/

Cross-Compile

Install Docker

Follow the instructions here to install Docker.

Clone the repo

git clone https://github.com/JasonLG1979/asound-conf-wizard.git

Build the deb(s)

cd asound-conf-wizard
Build armhf, arm64, and amd64 .debs
make
Build armhf .deb
make armhf
Build arm64 .deb
make arm64
Build amd64 .deb
make amd64

The asound-conf-wizard .deb(s) will be in ./