Removed libmysqldb-dev. dont need to add scons, some QT -dev added, python3-dev is not neededand readline-dev to apt install. Added path to .pyenv/shims and .pyenv/bin for the setupscript to find where pip and pyenv is installed. Also made the setup end like the mac_setup script (#20860)

old-commit-hash: 0f43e7e089
commatwo_master
Nicklas Boman 4 years ago committed by GitHub
parent 5d6c3c6232
commit 5ffdb65c6c
  1. 12
      tools/ubuntu_setup.sh

@ -23,7 +23,6 @@ sudo apt-get update && sudo apt-get install -y --no-install-recommends \
libglfw3-dev \
libglib2.0-0 \
liblzma-dev \
libmysqlclient-dev \
libomp-dev \
libopencv-dev \
libpng16-16 \
@ -50,7 +49,10 @@ sudo apt-get update && sudo apt-get install -y --no-install-recommends \
sudo \
vim \
wget \
gcc-arm-none-eabi
gcc-arm-none-eabi \
libqt5svg5-dev \
libqt5x11extras5-dev \
libreadline-dev
# install git lfs
if ! command -v "git-lfs" > /dev/null 2>&1; then
@ -81,6 +83,7 @@ git submodule init
git submodule update
# install python
PATH=$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH
pyenv install -s 3.8.5
pyenv global 3.8.5
pyenv rehash
@ -90,3 +93,8 @@ eval "$(pyenv init -)"
pip install --upgrade pip==20.2.4
pip install pipenv==2020.8.13
pipenv install --dev --system --deploy
echo
echo "---- FINISH OPENPILOT SETUP ----"
echo "Configure your active shell env by running:"
echo "source ~/.bashrc"

Loading…
Cancel
Save