This guide describes how to install PipeWire, Docker, and then set up the Linux-Voice-Assistant using docker-compose manually. The Linux-Voice-Assistant is a voice assistant that runs locally and supports wake word detection, voice activity detection, and audio playback.
The installation process can be divided into the following steps:
flowchart TD
start([Linux-Voice-Assistant installation]) --> prebuilt{"0) Use the prebuilt Pi image?"}
prebuilt -->|yes| ready([Ready])
prebuilt -->|no| audio{"1) Audio system"}
audio -->|"already installed"| audio_ready["Audio ready"]
audio -->|"install"| install_audio["a) PipeWire<br>b) PulseAudio"]
install_audio --> audio_ready
audio_ready --> app{"2) Install the application"}
app --> docker["a) Docker Compose"]
app --> bare["b) Bare metal"]
docker --> app_ready(["Application ready"])
bare --> app_ready
If you want to setup the software on your own hardware, for example if you want to use LVA on your linux desktop, you can use the docker image.
LVA needs a sound server (PipeWire or PulseAudio) on the host. Choose one:
| Option | Use when | Guide |
|---|---|---|
| Existing PipeWire / PulseAudio | One is already installed | Nothing to do |
| PipeWire (recommended) | No sound server yet | Install PipeWire |
| PulseAudio | You prefer it as an alternative | Install PulseAudio |
Run the application in one of two ways:
| Option | What you do | Guide |
|---|---|---|
| Docker Compose (recommended) | Install Docker, download the compose files, configure and start | Install with Docker Compose |
| Bare metal | Install the dependencies, clone the repo, set up and create a systemd service | Install on bare metal |