packetradio-guide/docs/repo.md

62 lines
2.2 KiB
Markdown

# Hibby's Repo
## Script
The script requires downloaded, set to executable and run and is a little simpler than the manual setup - thanks to John M5ET for writing it!
I strongly recommend you read through it **before** running it - it should look similar to the manual method below.
**General computer security advice is to not blindly run scripts you downloaded from the internet!**
Download the script from:
[https://guide.foxk.it/static/files/setup.sh](https://guide.foxk.it/static/files/setup.sh).
This, sadly, must be run in the command line - the lines to run it are:
```
cd /tmp
wget https://guide.foxk.it/static/files/setup.sh
chmod +x /tmp/setup.sh
sudo bash /tmp/setup.sh
```
## Install Signing Key
First, you need tell your machine to trust the signature I verify the packages with:
```
wget -q https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key
sudo mv hibby.key /etc/apt/trusted.gpg.d/hibby.asc
```
You can trust this key - it is contained in [Debian](https://salsa.debian.org/debian-keyring/keyring/-/blob/master/debian-keyring-gpg/0x03A1FB7A1904771B?ref_type=heads) and signed as trusted by other developers in the project.
## Set up Repo
Then you need to add the repo for your OS:
### Ubuntu 24.04 LTS amd64
`sudo sh -c 'echo "deb
https://online-amateur-radio-club-m0ouk.github.io/oarc-packages noble main" >> /etc/apt/sources.list'`
### Ubuntu 22.04 LTS amd64
`sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages jammy main" >> /etc/apt/sources.list'`
### Raspberry Pi OS 12 - 'Bookworm'
`sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm main" >> /etc/apt/sources.list'`
### Raspberry Pi OS 11 - 'Bullseye'
`sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bullseye main" >> /etc/apt/sources.list'`
### Debian 13 amd64
`sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages testing main" >> /etc/apt/sources.list'`
### Debian 12 amd64
`sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm main" >> /etc/apt/sources.list'`
## Update
Once the repo is setup, refresh your package lists and we're good to go:
```
sudo apt update
```