Create user to run the service
sudo useradd spark sudo usermod -aG sudo spark
Install Python
sudo apt install python3-pip python3-dev sudo -H pip3 install virtualenv
Upgrade PIP
sudo -H pip3 install --upgrade pip
General Libraries
sudo aptitude install libxml2-dev sudo aptitude install libssl-dev sudo aptitude install libcurl4-openssl-dev
For Notebook Conversion
sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic pandoc