From 7f0263b1f59a634f019a3cb143e1265c85777dc2 Mon Sep 17 00:00:00 2001 From: Zeno Gantner Date: Thu, 16 Apr 2020 10:19:56 +0200 Subject: [PATCH] more detailed instructions for Debian/Ubuntu users --- README.development | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.development b/README.development index 0b10c0385..f4d500ff1 100644 --- a/README.development +++ b/README.development @@ -73,6 +73,27 @@ system install, you will need to set up the pyenv folder yourself, making sure you have PyQt5, the WebEngine module and development tools (eg pyqt5-dev-tools) installed as well. You'll need to create the venv with --system-site-packages. +Debian/Ubuntu users +------------------- + +Install Python 3.7 (not necessary for Ubuntu 19.04 and later): +``` +sudo apt install python3.7 python3.7-dev +sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 +sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 +``` + +Install other dependencies: +``` +sudo apt install portaudio19-dev mpv lame npm rsync gcc gettext git curl +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +source $HOME/.cargo/env +wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protoc-3.11.4-linux-x86_64.zip +sudo unzip protoc-3.11.4-linux-x86_64.zip -d /usr/local/ -x readme.txt +rustup update +cargo install ripgrep +``` + Mac users ----------