packet:linbpq-apt-installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packet:linbpq-apt-installation [2024/01/23 19:26] – m0lte | packet:linbpq-apt-installation [2025/03/21 11:59] (current) – mm0rfn | ||
---|---|---|---|
Line 5: | Line 5: | ||
This page and the package it refers to are NOT the first party documentation or packaging for LinBPQ. | This page and the package it refers to are NOT the first party documentation or packaging for LinBPQ. | ||
- | **This process is only fully tested for a clean installation where BPQ has not been manually installed in the past using some other means. | + | **This process is only fully tested for a clean installation where BPQ has not been manually installed in the past using some other means. |
===== Preparation ===== | ===== Preparation ===== | ||
Line 13: | Line 13: | ||
Our very own Hibby MM0RFN, also a Debian maintainer, has kindly packaged and is maintaining various Linux packet radio software, among them LinBPQ. | Our very own Hibby MM0RFN, also a Debian maintainer, has kindly packaged and is maintaining various Linux packet radio software, among them LinBPQ. | ||
- | To start using his repo, you need tell your machine | + | There are two ways of installing the repo: script or manually line. |
+ | |||
+ | ==== Option 1: Script ==== | ||
+ | |||
+ | The script requires dowloaded, set to executable and run and is a little simpler than the manual setup - thanks to John M5ET for writing it! | ||
+ | |||
+ | I strongly recommend | ||
+ | **General computer security advice is to not blindly run scripts you downloaded from the internet!** | ||
+ | |||
+ | Download the script from: [[https:// | ||
+ | |||
+ | Lines you can run in the command line are: | ||
< | < | ||
- | wget -q https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key | + | cd /tmp |
- | sudo mv hibby.key | + | wget https://guide.hibbian.org/static/files/setup.sh |
+ | chmod +x /tmp/setup.sh | ||
+ | sudo bash /tmp/setup.sh | ||
</ | </ | ||
- | Then you need to add the repo for your OS: | + | ==== Option 2: Manually ==== |
- | < | + | To manually install, you need to download the repo .deb for your OS and install it: |
- | # Ubuntu 22.04 LTS amd64 | + | |
- | sudo sh -c 'echo "deb https:// | + | |
- | # Raspberry Pi OS 12 - ' | + | * Bullseye: < |
- | sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm | + | * Bookworm: < |
+ | * Trixie: < | ||
- | # Raspberry Pi OS 11 - ' | + | it should be a case of, for example: |
- | sudo sh -c 'echo "deb https:// | + | |
- | # Debian 13 amd64 | + | < |
- | sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages testing main" >> | + | wget http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/ |
- | + | sudo apt install | |
- | # Debian 12 amd64 | + | |
- | sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm main" >> / | + | |
</ | </ | ||
===== Installation ===== | ===== Installation ===== | ||
- | |||
- | **Do this once, only.** | ||
After following the above steps, to install LinBPQ, run the below commands: | After following the above steps, to install LinBPQ, run the below commands: | ||
Line 51: | Line 58: | ||
LinBPQ runs as a background service and requires a config file - see the next sections for details. | LinBPQ runs as a background service and requires a config file - see the next sections for details. | ||
+ | |||
===== Configuration ===== | ===== Configuration ===== | ||
- | A default config file will be placed at / | + | A default config file will be placed at '' |
- | Simple | + | We ship a backup |
- | < | + | Whenever you have updated the [[https://www.cantab.net/users/john.wiseman/Documents/BPQCFGFile.html|config]], restart LinBPQ: |
- | wget -q https://gist.githubusercontent.com/M0LTE/52824537b3fe21d19baf9a66eda4db86/ | + | |
- | # edit as required, then: | + | |
- | sudo mv bpq32.cfg /etc/bpq32.cfg | + | |
- | </ | + | |
- | + | ||
- | If you fully replace the config file, as opposed to editing the existing one, ensure it has the correct ownership after you do so: | + | |
- | + | ||
- | < | + | |
- | sudo chown :linbpq / | + | |
- | sudo chmod 644 / | + | |
- | </ | + | |
- | + | ||
- | Whenever you have updated the config, restart LinBPQ: | + | |
< | < | ||
Line 112: | Line 107: | ||
sudo apt upgrade | sudo apt upgrade | ||
</ | </ | ||
+ | |||
+ | ===== Migrating from a manual install to the apt repo ===== | ||
+ | |||
+ | - stop existing bpq running | ||
+ | - back everything up! | ||
+ | - make note of locations of files - we're particularly interested in bpq32.cfg and the working files. This will be the directory holding chatconfig.cfg, | ||
+ | - install from apt, then '' | ||
+ | - copy bpq32.cfg from wherever it is - to where it needs to be '' | ||
+ | - copy working files and folders from where they are to / | ||
+ | - start new install with '' | ||
===== References ===== | ===== References ===== | ||
This document superseded [[packet: | This document superseded [[packet: |
packet/linbpq-apt-installation.1706038019.txt.gz · Last modified: 2024/01/23 19:26 by m0lte