Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.11 KB

installation.md

File metadata and controls

45 lines (33 loc) · 2.11 KB

Linux-Voice-Assistant - Installation

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.

Overview:

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
Loading

Installation (Docker-Compose or Systemd):

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.

Step 1: Install Audioservice:

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

Step 2: Install Application:

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