Django 1.2.1 install in Ubuntu 10.04 via Synaptic?

261 views
Skip to first unread message

AD

unread,
May 30, 2010, 6:42:47 PM5/30/10
to Django users
I previously installed Django 1.1.1 via Ubuntu's Synaptic manager. For
anyone with experience under that OS and that install, I'm wondering:

-- Should I wait for a Django 1.2.1 package to show up under Synaptic
or uninstall 1.1.1 and then manually install 1.2.1? I honestly don't
know who "controls" when those packages get updated and how long it
will take.

Thanks!

Jeliuc Alexandr

unread,
May 30, 2010, 8:56:24 PM5/30/10
to Django users
Hello, there.
If You need new versions features or if You want to keep Your django
updated it is not a problem.
Install it manually. There is information about on django website.
Also it'll be helpful to read about trunk version.
It is python. :)

Best regards.

AD

unread,
May 30, 2010, 10:07:47 PM5/30/10
to Django users
Thanks for replying.

I do understand that i can install it manually. I'm just wondering
whether it's worth doing now or waiting for a package update. From
what I gather, Ubuntu installs Django in different locations than the
straight Django install does, so I would have to make changes to
configs, etc.

Thanks again.

Shawn Milochik

unread,
May 30, 2010, 10:41:15 PM5/30/10
to django...@googlegroups.com

On May 30, 2010, at 10:07 PM, AD wrote:

> Thanks for replying.
>
> I do understand that i can install it manually. I'm just wondering
> whether it's worth doing now or waiting for a package update. From
> what I gather, Ubuntu installs Django in different locations than the
> straight Django install does, so I would have to make changes to
> configs, etc.
>
> Thanks again.

In my opinion, it's definitely not worth waiting for something as large as the Ubuntu repo to upgrade its version of Django.

1. Having the latest version of Django is not going to break anything in Ubuntu, like upgrading from the pre-installed version of a programming language or compiler, or maybe a Gnome library.

2. You definitely want to have the latest stable version, just for protection from any bugs patched in the latest release.

3. Django 1.2.1 is out and official. If you're just learning Django, or just starting a new project, it'll be a lot easier in the long run if you start with a newer release.

4. Installing a Python module (which is all Django is) should not have anything to do with Ubuntu's repository. Would you refuse to install the MySQL or PostgreSQL Python module if it didn't come with Ubuntu?

Shawn Milo

AD

unread,
May 30, 2010, 11:09:13 PM5/30/10
to Django users
I agree with you, Shawn. I just didn't want to push ahead with a
manual uninstall and install if more-experienced Ubuntu users thought
I'd be seeing Django 1.2.1 show up in the repository quickly.

I'll give it a go. Thanks,

Leonel Nunez

unread,
May 31, 2010, 10:20:57 AM5/31/10
to django...@googlegroups.com
> I agree with you, Shawn. I just didn't want to push ahead with a manual
uninstall and install if more-experienced Ubuntu users thought I'd be
seeing Django 1.2.1 show up in the repository quickly.
>
> I'll give it a go. Thanks,
>


Ubuntu is a stable linux distribution. This means once a release is made,
NO new package versions will be included except for those microreleases :

https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions

Django is in main section for Karmic,Lucid this means that you will have
official SECURITY updates as long as the ubuntu version does not get its
EOL ( karmic 18 months from release date and lucid 5 years)

So you can deploy today with django 1.1.1 in lucid and your app will run
without changes for 5 years.

If you want 1.2.1 wait for it gets into Maveric ( current devel version )
and a backport can be done but this will not have oficial support.

Or wait for someone to make a backport and keep it updated on launchpad PPA


Saludos

Leonel


Massimiliano della Rovere

unread,
May 31, 2010, 10:33:08 AM5/31/10
to django...@googlegroups.com
or you can do the following tric:
1) install django sudo apt-get -y install python-django
2) now you have all the dependencies you need
3) sudo apt-get -y install python-setuptools
4) sudo apt-get remove python-django
5) sudo easy_install -Z django

repeat step 5 after each release of django





--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


AD

unread,
May 31, 2010, 11:35:12 AM5/31/10
to Django users
Thanks.

I went ahead and downloaded the Django 1.2.1 tarball, untarred it and
ran

sudo python setup.py install in the directory.

I needed to make one small change in my Apache httpd.conf file, but
otherwise it all seems to be working smoothly!

Thanks!

On May 31, 10:33 am, Massimiliano della Rovere
> > django-users...@googlegroups.com<django-users%2Bunsu...@googlegroups.com>
> > .

Patrice

unread,
Jun 1, 2010, 6:09:53 AM6/1/10
to Django users
On May 31, 5:35 pm, AD <adebar...@gmail.com> wrote:
> I went ahead and downloaded the Django 1.2.1 tarball, untarred it and
> ran
>
> sudo python setup.py install in the directory.
>
> I needed to make one small change in my Apache httpd.conf file, but
> otherwise it all seems to be working smoothly!

Before I go for the same solution: what changes did you need to make
to your http.conf ?
I guess it depends on your django install. I'm using apache +
mod_python.

Thomas Schreiber

unread,
Jun 1, 2010, 7:26:46 AM6/1/10
to django...@googlegroups.com
here is a getting started (good practices) guide to configuring a
django production server. A little old now, but the fundamentals still
apply.
http://lethain.com/entry/2009/feb/13/the-django-and-ubuntu-intrepid-almanac/

> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.

> To unsubscribe from this group, send email to django-users...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages