38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
# Install deps on ubuntu
|
|
|
|
## Pre-setup on Raspberry Pi (Raspberry Pi OS)
|
|
Before installing dependencies, ensure your Raspberry Pi is up to date and has audio enabled:
|
|
|
|
1. **Update your system:**
|
|
```sh
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
2. **Enable audio:**
|
|
- Use `raspi-config` to enable audio output (if not already enabled):
|
|
```sh
|
|
sudo raspi-config
|
|
# Navigate to 'Advanced Options' > 'Audio' and select your output (HDMI or 3.5mm jack)
|
|
```
|
|
3. **Reboot if needed:**
|
|
```sh
|
|
sudo reboot
|
|
```
|
|
4. **Test audio:**
|
|
```sh
|
|
speaker-test -t wav
|
|
```
|
|
or
|
|
```sh
|
|
aplay /usr/share/sounds/alsa/Front_Center.wav
|
|
```
|
|
5. **Connect USB microphone or sound card if required.**
|
|
|
|
Proceed with the dependency installation steps below.
|
|
|
|
- make sure poetry was installed with pipx
|
|
sudo apt update
|
|
sudo apt install build-essential libcairo2-dev libgirepository1.0-dev pkg-config
|
|
sudo apt install libgirepository-2.0-dev gir1.2-girepository-2.0 build-essential pkg-config
|
|
sudo apt install gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0
|
|
|
|
# Install on rpi |