How to install Pip3 & Django on Ubuntu 18.04 / Ubuntu 16.04 LTS

Welcome to our guide on how to Install Pip3 and Django on Ubuntu 18.04 / Ubuntu 16.04 LTS. Django is a free and open source high-level Python Web framework designed to encourage rapid Web development without the need to reinvent the wheel. Pip is a package management system used to install and manage software packages written in Python.

This guide will take you through the steps to install Pip3 & Django on Ubuntu 18.04 / Ubuntu 16.04 LTS systems. This works for both Desktop and server installations.

Step 1: Install Python3 and Pip3

Your Ubuntu system should come with Python 3, if it doesn’t have it, install by running the commands below on your terminal.

sudo apt -y install python3 python3-pip

Step 2: Install Django on Ubuntu 18.04 / Ubuntu 16.04 LTS

The easiest and quickest way to Install Django on Ubuntu 18.04 / Ubuntu 16.04 LTS is via pip3.

Check your Python version

$ python3 -V
Python 3.6.6

Check installed pip3 version:

$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

Download and install Django on Ubuntu 18.04 / Ubuntu 16.04:

pip3 install --user Django

For global installation, use:

sudo pip3 install Django

The installation of Django will give you django-admin command to manage Projects,