Compare commits

..

2 Commits

Author SHA1 Message Date
Hibby 8ef1520cbd
Installation Updates 2024-09-25 01:10:13 +01:00
Hibby cee0a53b0a
Repo updates 2024-08-27 00:53:14 +01:00
2 changed files with 44 additions and 91 deletions

View File

@ -1,56 +1,35 @@
# Hibby's Repo
# Hibbian Repo
## Script
## Install with 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!
Download the script from: <https://guide.hibbian.org/static/files/setup.sh>
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:
This must be run from the command line:
!!! note "Terminal Commands"
```
cd /tmp
wget https://guide.foxk.it/static/files/setup.sh
wget https://guide.hibbian.org/static/files/setup.sh
chmod +x /tmp/setup.sh
sudo bash /tmp/setup.sh
```
## Install Signing Key
## Install Manually
First, you need tell your machine to trust the signature I verify the packages with:
This assumes you have some knowledge of Debian/Ubuntu and know how to take
risks!
```
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_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
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'`
`sudo apt install ./keyring.deb`
## Update
@ -59,3 +38,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!

View File

@ -8,72 +8,41 @@ 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 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
"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
echo -e "\033[32mRepository added correctly.\033[0m"
;;
"Debian 12"*)
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 "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 -e "\033[32mRepository added correctly.\033[0m"
;;
"Raspbian 12"*)
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 "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 -e "\033[32mRepository added correctly.\033[0m"
;;
"Raspbian 11"*)
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 "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 -e "\033[32mRepository added correctly.\033[0m"
;;
"Debian 11"*)
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 "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 -e "\033[32mRepository added correctly.\033[0m"
;;
*)
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
echo "No repository to add - check you are running a compatible operating system. Please see https://www.hibbian.org for more information" && exit
;;
esac
echo "Updating your package lists..."