Tips / Nginx

How to install Python + Django on CentOS 6


Python is one of the core packages of any CentOS distribution, so there is not much need to install it, but just in case we will install the development package. On the other hand, Django is a Python Framework that will help you a lot to build rich applications and projects on this popular programming language.

Are you wondering How to install Python and Django on CentOS ? It’s very easy and it can be done within 1 minute.


Install EPEL repo
yum update -y
yum groupinstall 'Development Tools' -y

Installing Python + Django packages

yum install python python-devel -y
yum install Django -y

Testing Django

import django
print django.get_version()

You should see the RPM release version.

Popular search terms:

  • yum install django
  • django install centos 6
  • install django on centos
  • install django on centos 6

Esteban Borges

Linux Geek, Webperf Addict, Nginx Fan. CTO @Infranetworking