2026-05-11 09:29:16 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
# Author : Gaston Gonzalez
|
|
|
|
|
# Date : 13 February 2026
|
2026-09-05 13:00:46 -07:00
|
|
|
# Updated : 5 September 2026
|
2026-05-11 09:29:16 -07:00
|
|
|
# Purpose : Install Reticulum
|
2026-09-05 13:00:46 -07:00
|
|
|
set -e
|
|
|
|
|
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
|
|
|
|
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
2026-05-11 09:29:16 -07:00
|
|
|
|
2026-09-05 13:00:46 -07:00
|
|
|
RNS_VERSION=1.5.1
|
2026-05-11 09:29:16 -07:00
|
|
|
|
|
|
|
|
et-log "Installing Python3..."
|
|
|
|
|
apt install \
|
|
|
|
|
python3 \
|
|
|
|
|
python3-pip \
|
|
|
|
|
-y
|
|
|
|
|
|
|
|
|
|
et-log "Downloading rns ${RNS_VERSION} for offline install..."
|
|
|
|
|
python3 -m pip download -d wheelhouse rns==${RNS_VERSION}
|
|
|
|
|
|
2026-09-05 13:00:46 -07:00
|
|
|
et-log "Installing Reticulum ${RNS_VERSION} for single user use..."
|
2026-05-11 09:29:16 -07:00
|
|
|
PYTHONUSERBASE=/etc/skel/.local \
|
|
|
|
|
python3 -m pip install --user \
|
|
|
|
|
--no-index --find-links=wheelhouse \
|
2026-06-15 11:52:03 -07:00
|
|
|
rns==${RNS_VERSION}
|