Created
August 16, 2023 01:46
-
-
Save hemna/3e75ad839feb83c8bc53b76668529cc9 to your computer and use it in GitHub Desktop.
steps to install aprsd on raspi digipi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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