Compare commits
No commits in common. "8ef1520cbd91c823a12a1bbe299b4e8e5c0704e4" and "a4ec577aa38792bb98e32f8f66bf2543f8555ad9" have entirely different histories.
8ef1520cbd
...
a4ec577aa3
66
docs/repo.md
66
docs/repo.md
|
@ -1,35 +1,56 @@
|
|||
# Hibbian Repo
|
||||
# Hibby's Repo
|
||||
|
||||
## Install with Script
|
||||
## Script
|
||||
|
||||
Download the script from: <https://guide.hibbian.org/static/files/setup.sh>
|
||||
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!
|
||||
|
||||
This must be run from the command line:
|
||||
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!**
|
||||
|
||||
!!! note "Terminal Commands"
|
||||
```
|
||||
cd /tmp
|
||||
wget https://guide.hibbian.org/static/files/setup.sh
|
||||
chmod +x /tmp/setup.sh
|
||||
sudo bash /tmp/setup.sh
|
||||
```
|
||||
Download the script from:
|
||||
[https://guide.foxk.it/static/files/setup.sh](https://guide.foxk.it/static/files/setup.sh).
|
||||
|
||||
## Install Manually
|
||||
This, sadly, must be run in the command line - the lines to run it are:
|
||||
|
||||
This assumes you have some knowledge of Debian/Ubuntu and know how to take
|
||||
risks!
|
||||
```
|
||||
cd /tmp
|
||||
wget https://guide.foxk.it/static/files/setup.sh
|
||||
chmod +x /tmp/setup.sh
|
||||
sudo bash /tmp/setup.sh
|
||||
```
|
||||
|
||||
### Fetch the keyring for your distro
|
||||
## Install Signing Key
|
||||
|
||||
Download and install the .deb that suits your distro:
|
||||
First, you need tell your machine to trust the signature I verify the packages with:
|
||||
|
||||
* [Bullseye](http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo11+1_all.deb)
|
||||
* [Bookworm](http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo12+1_all.deb)
|
||||
* [Testing](http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo~TRIXIE+1_all.deb)
|
||||
```
|
||||
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:
|
||||
|
||||
`sudo apt install ./keyring.deb`
|
||||
### 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
|
||||
|
||||
|
@ -38,8 +59,3 @@ 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!
|
||||
|
|
|
@ -8,41 +8,72 @@ echo "Detected operating system as:"
|
|||
echo -e "\033[32m$osstr\033[0m"
|
||||
osname=`echo "$osstr" |awk '{print $1}'`
|
||||
osver=`echo "$osstr" |sed 's/GNU\/Linux//g'`
|
||||
echo -e "$osver Detected"
|
||||
apt update && apt install curl
|
||||
case `echo $osver` in
|
||||
"Debian trixie/sid"*)
|
||||
echo "Installing Repo, please wait..."
|
||||
curl http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo~TRIXIE+2_all.deb | tee /tmp/hibbian-archive-keyring.deb
|
||||
apt install /tmp/hibbian-archive-keyring.deb
|
||||
"Debian 13"*)
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Debian testing repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages testing main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
"Debian 12"*)
|
||||
echo "Installing Repo, please wait..."
|
||||
curl http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo12+2_all.deb | tee /tmp/hibbian-archive-keyring.deb
|
||||
apt install /tmp/hibbian-archive-keyring.deb
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Debian stable repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
"Ubuntu 22.04"*)
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Ubuntu jammy repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages jammy main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
"Ubuntu 24.04"*)
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Ubuntu jammy repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages noble main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
"Raspbian 12"*)
|
||||
echo "Installing Repo, please wait..."
|
||||
curl http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo12+2_all.deb | tee /tmp/hibbian-archive-keyring.deb
|
||||
apt install /tmp/hibbian-archive-keyring.deb
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Raspberry Pi OS stable repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
"Raspbian 11"*)
|
||||
echo "Installing Repo, please wait..."
|
||||
curl http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo11+2_all.deb | tee /tmp/hibbian-archive-keyring.deb
|
||||
apt install /tmp/hibbian-archive-keyring.deb
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Raspberry Pi OS oldstable repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bullseye main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
"Debian 11"*)
|
||||
echo "Installing Repo, please wait..."
|
||||
curl http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo11+2_all.deb | tee /tmp/hibbian-archive-keyring.deb
|
||||
apt install /tmp/hibbian-archive-keyring.deb
|
||||
echo "Installing GPG signing key, please wait..."
|
||||
curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
|
||||
echo -e "\033[32mGPG signing key installed correctly.\033[0m"
|
||||
echo "Adding Raspberry Pi OS oldstable repository for OARC packages..."
|
||||
echo "#OARC Packet Radio Packages" >> /etc/apt/sources.list
|
||||
echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bullseye main" >> /etc/apt/sources.list
|
||||
echo -e "\033[32mRepository added correctly.\033[0m"
|
||||
;;
|
||||
*)
|
||||
echo "No repository to add - check you are running a compatible operating system. Please see https://www.hibbian.org for more information" && exit
|
||||
echo "No repository to add - check you are running a compatible operating system. Please see https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/ for more information" && exit
|
||||
;;
|
||||
esac
|
||||
echo "Updating your package lists..."
|
||||
|
|
Loading…
Reference in New Issue