Categories
Linux

Setting up dev env

sudo apt-get update && sudo apt-get upgrade
sudo -i
apt-get install python3 git curl
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py

When trying this again in 2021, from scratch, I needed this for python3:

sudo apt-get install python3-distutils
sudo apt-get install python3-dev
pip install virtualenv
apt install default-jdk         <<    apt vs apt-get
pip install docker-compose
chmod +x /usr/local/bin/docker-compose

Note that the advised method didn't work:
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose 

At this point, docker craps out, complaining bout “/sys/fs/cgroup/cpuset/docker/cpus ” (See other post)