This blog explains how to set up a freshly installed Ubuntu mate on a Raspberry PI for Python and Django development. If you want to know how to install Ubuntu Mate on Raspberry PI please refer to this post.
Step 1 – Enable SSH
Not really needed for this task. But handy to have it. Run the following two commands to activate it.
sudo systemctl enable ssh
sudo systemctl start ssh
Step 2 – Update Ubuntu
Run following two commands. These two will take 1-2 hours to finish.
sudo apt-get update sudo apt-get upgrade
Step 3 – Install Importent Packages
sudo apt-get install git sudo apt install vim
Step 4 – Install Python/Django
sudo apt install python-pip -y pip install --upgrade pipsudo python -m pip install django