Installing Django on CentOS 6

Django is available as an EPEL package.

First, activate EPEL via

$ sudo rpm -Uvh

or for 32-bin CentOS,

$ sudo rpm -Uvh

NOTE: That exact URL will change with time. I took it from the EPEL FAQ.

Next, install the Django package.

$ sudo rpm install Django

Ensure that Django is working.

$ python
Python 2.6.6. (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or license" for more informaiton. 
>>> import django
>>> print django.get_version()
>>> _
This entry was posted in SysAdmin and tagged , , , , . Bookmark the permalink.

Leave a Reply