To install the latest rust toolchain, follow the installation instructions on rustup.rs.
Note: If you installed rust before via apt, you need to remove it before installing rustup. We recommend to always use the latest version and don't guarantee compatibility with older ones.
sudo apt install libasound2-dev libssl-dev pkg-config
git clone https://github.com/Spotifyd/spotifyd.git
This takes a while...
cd spotifyd cargo build --release
The resulting binary will be placed in
You can run it using