Skip to content

Instantly share code, notes, and snippets.

@hemna
Created August 16, 2023 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemna/3e75ad839feb83c8bc53b76668529cc9 to your computer and use it in GitHub Desktop.
Save hemna/3e75ad839feb83c8bc53b76668529cc9 to your computer and use it in GitHub Desktop.
steps to install aprsd on raspi digipi
mkdir tmp
export TMPDIR=~/tmp
# rust is no longer needed with no dep on python cryptography
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
#
# python 3.9.x has asyncio problems which causes kiss interfaces to fail.
#
install pyenv
# https://github.com/pyenv/pyenv-installer
curl https://pyenv.run | bash
# install missing libs
libssl-dev libbz2-dev libsqlite3-dev liblzma-dev
# install python 3.10.12 with pyenv
pyenv install 3.10.12
# add the following to the end of ~/.bashrc
# Needed for pyenv
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# Now install aprsd
mkdir aprsd
# set python version to 3.10.12 for the directory ~/aprsd
pyenv local 3.10.12
# Create the aprsd virtual env
python -m venv .aprsd-venv
# Activate it
source .aprsd-venv/bin/activate
# install aprsd and simple-websocket
pip install aprsd
pip install simple-websocket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment