packetradio-guide/docs/repo.md

58 lines
2.0 KiB
Markdown
Raw Normal View History

2024-03-27 01:41:25 +00:00
# Hibby's Repo
2024-06-19 00:58:06 +01:00
## Script
The script requires dowloaded, 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]]
Lines you can run in the command line are:
```
cd /tmp
wget https://guide.foxk.it/static/files/setup.sh
chmod +x /tmp/setup.sh
sudo bash /tmp/setup.sh
```
2024-03-27 01:41:25 +00:00
## 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:
2024-04-10 22:57:12 +01:00
### 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'`
2024-03-27 01:41:25 +00:00
2024-04-10 22:57:12 +01:00
### 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'`
2024-03-27 01:41:25 +00:00
2024-04-10 22:57:12 +01:00
### 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'`
2024-03-27 01:41:25 +00:00
2024-04-10 22:57:12 +01:00
### 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'`
2024-03-27 01:41:25 +00:00
## Update
Once the repo is setup, refresh your package lists and we're good to go:
```
sudo apt update
```