Installing Django and Python 3.4 on a freshly registered Debian VPS

117 views
Skip to first unread message

Christian Kleineidam

unread,
Jul 4, 2015, 8:19:10 AM7/4/15
to django...@googlegroups.com
I want to install Django and Python 3.4 on a freshly registered Debian server.
What are the steps I have to take given that I want to use Python 3.4 and not the debian default of 2.7?
I expect I also need to install Apache, is that right?

Can you point me to a good tutorial that explains all the details of this process?

Andreas Kuhne

unread,
Jul 4, 2015, 1:40:07 PM7/4/15
to django...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9c4a8203-42cd-4d38-acbc-757f951fc9e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Hi,

Just searching the net I found: http://www.extellisys.com/articles/python-on-debian-wheezy . It has information about how to install python 3.4 on debian. However I haven't used Debian myself (we use ubuntu on our production servers), so I can't verify if it's completely correct. Looks ok though. If possible switch to an ubuntu server instead, because then you will get python 3.4 as standard.

Regarding apache, I would probably choose nginx instead because it should be faster.

Regards,

Andréas

Linux4Bene

unread,
Jul 7, 2015, 9:13:10 AM7/7/15
to django...@googlegroups.com
Op Sat, 04 Jul 2015 19:39:00 +0200, schreef Andreas Kuhne:


> Hi,
>
> Just searching the net I found:
> http://www.extellisys.com/articles/python-on-debian-wheezy . It has
> information about how to install python 3.4 on debian. However I haven't
> used Debian myself (we use ubuntu on our production servers), so I can't
> verify if it's completely correct. Looks ok though. If possible switch
> to an ubuntu server instead, because then you will get python 3.4 as
> standard.
>
> Regarding apache, I would probably choose nginx instead because it
> should be faster.
>
> Regards,
>
> Andréas

That's how I do it on my VPS. I also compile my own version.
Another option on Debian might be to look for a back port of Python 3.4
depending on the version (Wheezy 7.8/Jessie 8.1) you run.
Wheeze has python 3.2; Jessie Python 3.4, both installable as:

apt-get install python3

You can find what packages debian uses in the various releases:

https://packages.debian.org/

I like to compile my own as I works perfectly with virtualenv to exactly
use the version I want for my projects without messing with the system
wide Python installation.

Regards,
Bene

Marek Turnovec

unread,
Jul 11, 2015, 4:17:30 PM7/11/15
to django...@googlegroups.com

Just searching the net I found: http://www.extellisys.com/articles/python-on-debian-wheezy . It has information about how to install python 3.4 on If possible switch to an ubuntu server instead, because then you will get python 3.4 as standard.


I think that it's not necessary. If someone wants Python 3.4, it's also available in Debian Jessie, which is the current STABLE version of Debian.

Regards

Marek
Reply all
Reply to author
Forward
0 new messages