Compare commits

..

No commits in common. "8ef1520cbd91c823a12a1bbe299b4e8e5c0704e4" and "a4ec577aa38792bb98e32f8f66bf2543f8555ad9" have entirely different histories.

2 changed files with 91 additions and 44 deletions

View File

@ -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!**
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:
!!! note "Terminal Commands"
``` ```
cd /tmp cd /tmp
wget https://guide.hibbian.org/static/files/setup.sh wget https://guide.foxk.it/static/files/setup.sh
chmod +x /tmp/setup.sh chmod +x /tmp/setup.sh
sudo bash /tmp/setup.sh sudo bash /tmp/setup.sh
``` ```
## Install Manually ## Install Signing Key
This assumes you have some knowledge of Debian/Ubuntu and know how to take First, you need tell your machine to trust the signature I verify the packages with:
risks!
### Fetch the keyring for your distro ```
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
```
Download and install the .deb that suits 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.
* [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)
## Set up Repo ## 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 ## Update
@ -38,8 +59,3 @@ Once the repo is setup, refresh your package lists and we're good to go:
``` ```
sudo apt update 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!

View File

@ -8,41 +8,72 @@ echo "Detected operating system as:"
echo -e "\033[32m$osstr\033[0m" echo -e "\033[32m$osstr\033[0m"
osname=`echo "$osstr" |awk '{print $1}'` osname=`echo "$osstr" |awk '{print $1}'`
osver=`echo "$osstr" |sed 's/GNU\/Linux//g'` osver=`echo "$osstr" |sed 's/GNU\/Linux//g'`
echo -e "$osver Detected"
apt update && apt install curl
case `echo $osver` in case `echo $osver` in
"Debian trixie/sid"*) "Debian 13"*)
echo "Installing Repo, please wait..." echo "Installing GPG signing key, 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 curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
apt install /tmp/hibbian-archive-keyring.deb 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" echo -e "\033[32mRepository added correctly.\033[0m"
;; ;;
"Debian 12"*) "Debian 12"*)
echo "Installing Repo, please wait..." echo "Installing GPG signing key, 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 curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
apt install /tmp/hibbian-archive-keyring.deb 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" echo -e "\033[32mRepository added correctly.\033[0m"
;; ;;
"Raspbian 12"*) "Raspbian 12"*)
echo "Installing Repo, please wait..." echo "Installing GPG signing key, 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 curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
apt install /tmp/hibbian-archive-keyring.deb 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" echo -e "\033[32mRepository added correctly.\033[0m"
;; ;;
"Raspbian 11"*) "Raspbian 11"*)
echo "Installing Repo, please wait..." echo "Installing GPG signing key, 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 curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
apt install /tmp/hibbian-archive-keyring.deb 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 -e "\033[32mRepository added correctly.\033[0m"
;; ;;
"Debian 11"*) "Debian 11"*)
echo "Installing Repo, please wait..." echo "Installing GPG signing key, 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 curl https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | tee /etc/apt/trusted.gpg.d/hibby.asc
apt install /tmp/hibbian-archive-keyring.deb 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 -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 esac
echo "Updating your package lists..." echo "Updating your package lists..."