• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Install Django Web Framework On Ubuntu 16.04

How To Install Django Web Framework On Ubuntu 16.04

By Sourabh / May 31, 2016 Category: How To, Ubuntu

How to install Django on Ubuntu 16.04. Terminal commands to install the Django Web Framework on Linux Ubuntu 16.04 Systems. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, Django takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Django can be installed on Ubuntu, using two ways:

  1. From Packages – with the apt package manager.
  2. Through pip – with the pip tool – package manager for Python packages.

Install Django from Packages

Run the following commands to install Django from Packages:

sudo apt-get update
sudo apt-get install python-django
sudo apt-get install python3-django

Please note that install python-django command uses Python 2 with Django and install python3-django command will use Python 3 with Django.

Install Django through pip

Run the following commands to install Django from pip:

sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python3-pip

Once the pip is installed, run the following command to install Django:

sudo pip install django
sudo pip3 install django

To be assured that the installation was successful, run the command “django-admin –version” in Terminal.

Once installed, Django can be uses to create a project using the django-admin command “django-admin startproject projectname”

Tags: Django Web Framework, Django Web Framework Linux, Django Web Framework on Ubuntu, Django Web Framework Ubuntu 16.04, How To Install the Django Web Framework on Ubuntu, Install the Django Web Framework on Ubuntu, Linux Django Web Framework, Ubuntu 16.04 Django Web Framework, Ubuntu Django Web Framework

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap