ScaleScaleScaleScale

Tips / Nginx


How to install Python + Django on CentOS 6

django_logo

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.

Requirements

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:

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

Esteban Borges

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