# Add Bohemia Automation apt repository

## All at once

curl https://pub.bma.ai/apt/setup | sh

## Step-by-step

(skip this if you have already used the setup script)

### Configure

```shell
sudo apt-get install -y apt-transport-https software-properties-common wget
sudo mkdir -p /etc/apt/keyrings/
wget -q -O - https://pub.bma.ai/apt/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/bohemia-automation.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/bohemia-automation.gpg] https://pub.bma.ai/apt stable main" | sudo tee -a /etc/apt/sources.list.d/bohemia-automation.list
```

### Update

```shell
sudo apt update
```
