Scripts are
bash
sudo apt install build-essential
These libraries are required by AVBlocks:
sudo apt-get install libjpeg8 libtiff5 libpng12-0 libtbb2
sudo apt-get install libjpeg8 libtiff5 libpng16-16 libtbb2
Remove cmake
that comes with Ubuntu 20.04 or 18.04:
sudo apt remove cmake
sudo apt purge --auto-remove cmake
Install dependencies:
sudo apt install libssl-dev
Download cmake 3.19
:
version=3.19
build=1
mkdir -p ~/temp
cd ~/temp
wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz
tar -xzvf cmake-$version.$build.tar.gz
Build and install the extracted source by running:
cd ~/temp/cmake-$version.$build/
./bootstrap
make -j 4
sudo make install
To verify close and reopen Terminal:
cmake --version
sudo apt install ninja-build
Install Python Dependencies:
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Install pyenv
:
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
Enable:
source ~/.bashrc
Install via Snap Store:
sudo snap install --classic code