2026-05-11 09:29:16 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
# Author : Gaston Gonzalez
|
|
|
|
|
# Date : 13 February 2026
|
2026-06-15 11:52:03 -07:00
|
|
|
# Updated : 15 June 2026
|
2026-05-11 09:29:16 -07:00
|
|
|
# Purpose : Install Reticulum
|
|
|
|
|
|
2026-06-15 11:52:03 -07:00
|
|
|
# Version pin Reticulum as we want to favor stability
|
2026-05-11 09:29:16 -07:00
|
|
|
# above all other concerns (security, features, etc.).
|
2026-06-15 11:52:03 -07:00
|
|
|
RNS_VERSION=1.3.5
|
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-06-15 11:52:03 -07:00
|
|
|
#et-log "Downloading nomadnet for offline install..."
|
|
|
|
|
#python3 -m pip download -d wheelhouse
|
2026-05-11 09:29:16 -07:00
|
|
|
|
2026-06-15 11:52:03 -07:00
|
|
|
et-log "Installing Reticulum 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}
|
2026-05-11 09:29:16 -07:00
|
|
|
|
|
|
|
|
et-log "Removing wheelhouse to save space..."
|
|
|
|
|
[[ -e wheelhouse ]] && rm -vrf wheelhouse
|