---
# System prepended metadata

title: 樹莓派初始設定

---

# 樹莓派初始設定
## 1. 初始更新
```bash=
sudo apt-get update
sudo apt-get upgrade
```
## 2. 音訊類

### 安裝 pyaudio
```bash=
sudo apt-get install python-pyaudio
```

### 安裝 Audio Driver 

[Manual Page](https://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT/)
:::warning
外接喇叭的音量調整需要用alsamixer來調整，不能用本機的音量控制!
:::

## 3. 系統程式類
### 安裝 ssh-agent
```bash=
sudo apt-get install openssh-server
```
#### 開啟sshd
```bash=
sudo systemctl enable ssh
sudo systemctl start ssh
```