Compare commits
2 Commits
a4ec577aa3
...
8ef1520cbd
Author | SHA1 | Date |
---|---|---|
Hibby | 8ef1520cbd | |
Hibby | cee0a53b0a |
66
docs/repo.md
66
docs/repo.md
|
@ -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!**
|
||||
This must be run from the command line:
|
||||
|
||||
Download the script from:
|
||||
[https://guide.foxk.it/static/files/setup.sh](https://guide.foxk.it/static/files/setup.sh).
|
||||
!!! note "Terminal Commands"
|
||||
```
|
||||
cd /tmp
|
||||
wget https://guide.hibbian.org/static/files/setup.sh
|
||||
chmod +x /tmp/setup.sh
|
||||
sudo bash /tmp/setup.sh
|
||||
```
|
||||
|
||||
This, sadly, must be run in the command line - the lines to run it are:
|
||||
## Install Manually
|
||||
|
||||
```
|
||||
cd /tmp
|
||||
wget https://guide.foxk.it/static/files/setup.sh
|
||||
chmod +x /tmp/setup.sh
|
||||
sudo bash /tmp/setup.sh
|
||||
```
|
||||
This assumes you have some knowledge of Debian/Ubuntu and know how to take
|
||||
risks!
|
||||
|
||||
## Install Signing Key
|
||||
### Fetch the keyring for your distro
|
||||
|
||||
First, you need tell your machine to trust the signature I verify the packages with:
|
||||
Download and install the .deb that suits 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
|
||||
```
|
||||
|
||||
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
|
||||
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!
|
||||
|
|
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue