I’m starting Django development, and I can either install it from the .deb using
$ apt-get install python-django
on my Ubuntu machine, or I can download the .tar.gz from djangoproject.com, and start with that.
What are the benefits and drawbacks of each approach?
Using
apt-getlets your system keep track of the install (e.g. if you want to disinstall, upgrade, or the like, late). Installing from source (.tar.gzor otherwise) puts you in charge of what’s what and where — you can have multiple versions installed at various locations, etc, but there’s no easy “uninstall” and the like. Personally I prefer to install by my OS’s supported method (apt-getand the like) for packages I think as secondary or auxiliary, directly from svn/hg/&c for ones I’m contributing to or otherwise want to keep the closest control on, and.tar.gz(or better when available.tar.bz2😉 “snapshots” and “source releases” that are s/where in the middle…