Uninstall for clean install

1,728 views
Skip to first unread message

thomasgr...@gmail.com

unread,
Jun 24, 2012, 7:30:53 PM6/24/12
to django...@googlegroups.com
I need to uninstall django (on ubuntu) so as to do a clean installation.  Anybody have a procedure for removing django cleanly?
Thanks

Gethin Llyn ab Alwyn

unread,
Jun 24, 2012, 8:17:38 PM6/24/12
to django...@googlegroups.com

How did you install it? Did you do it through apt-get or did you install it through a downloaded tar.gz package from the Django website?

On Jun 25, 2012 12:31 AM, "thomasgr...@gmail.com" <thomasgr...@gmail.com> wrote:
I need to uninstall django (on ubuntu) so as to do a clean installation.  Anybody have a procedure for removing django cleanly?
Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/vhtf6u6MEqwJ.
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.

Gethin Llyn ab Alwyn

unread,
Jun 24, 2012, 8:46:18 PM6/24/12
to django...@googlegroups.com
To answer my own question, if you did it through the package manager try

sudo apt-get purge python-django on the command line

if from tar.gz package, on the command line  change directory to /usr/local/lib/python(your version)/dist-packages/ and delete django files there using sudo rm django -rf and th Django egg info.

That's how it's done on Ubuntu 12.04

Lachlan Musicman

unread,
Jun 24, 2012, 9:05:26 PM6/24/12
to django...@googlegroups.com
Thomas, If you've ever wanted to know why vitualenv is a good idea -
here's a great reason. Since it compartmentalises everything -
packages the whole deal, you can just create a new virtualenv and
start developing.

http://www.arthurkoziel.com/2008/10/22/working-virtualenv/


Cheers
L.

Gethin Llyn ab Alwyn

unread,
Jun 24, 2012, 9:10:00 PM6/24/12
to django...@googlegroups.com

+1 virtualenv, and virtualenvwrapper

Reply all
Reply to author
Forward
0 new messages