mardi 6 janvier 2015

Why does apt-get in Ubuntu still want to install Python 2.7?


New Linux VPS, installing Python and a few other tools I like to use. Did apt-get update and apt-get upgrade, and I noticed when I did apt-get install python it defaulted to version 2.7. (I can, however, do apt-get install python3 to install Python 3)


I was just curious why this wouldn't install Python 3 by default, it seems like would be a natural upgrade, unless this is due to not breaking scripts that are Python based. It is also mentioned when Googling "when was python 3 released" that it was "a major, backwards-incompatible release," which reinforces the idea of backwards compatibility.


In short, why does apt-get install python install Python 2.7 and not 3? Why is Python 3 not the default version by now (it was released in December 2008)?



Aucun commentaire:

Enregistrer un commentaire