Repo updates

This commit is contained in:
Hibby 2024-08-27 00:49:30 +01:00
parent a4ec577aa3
commit cee0a53b0a
Signed by: hibby
SSH Key Fingerprint: SHA256:Y6XbnzN0FEB1R/exPF5hUbHUgE/Nn7M1uT566fxo6pE
1 changed files with 21 additions and 34 deletions

View File

@ -7,50 +7,32 @@ The script requires downloaded, set to executable and run and is a little simple
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:
At the moment, you must understand at least some of how Debian works to sign up
for the repo!
```
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
```
### Fetch the keyring for your distro
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.
Download and install the .deb that suits your distro:
* [Bullseye](http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240826~packetrepo11+3_all.deb)
* [Bookworm](http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240826~packetrepo12+1_all.deb)
* [Testing](http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240826~packetrepo~TRIXIE+1_all.deb)
## 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'`
I've installed a package list on your machine at
`/usr/share/hibbian-archive-keyring/sources.list.d/bookworm/packetrepo_stable.list`
or a similar path, depending on your OS version.
### 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'`
I suggest you link to that from `/etc/apt/sources.list.d/` - for example,
### 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'`
```
ln -s
/usr/share/hibbian-archive-keyring/sources.list.d/bookworm/packetrepo_stable.list
/etc/apt/sources.list.d/hibbian.list
```
## Update
@ -59,3 +41,8 @@ Once the repo is setup, refresh your package lists and we're good to go:
```
sudo apt update
```
## See what's available
A rough list of what's available is available at
[githib](https://git.hibbian.org/Hibbian). If you have any issues, sign up there
and leave an issue against the right thing!