Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any linux distribution that comes with python 3?

I would like to know if there is any Linux distribution where you can easily install and use Python 3. This means a distribution that will provide not only Python 3 binaries and updates but also python modules.

I know that probably we are not going to see any python 3 as the default python interpretor so soon but at least I would like to see latest 2.x as default (2.6+) one and the alternative one already installed.

Probably it is a question between major distributions: Ubuntu, Fedora or Suse?

like image 502
sorin Avatar asked Jun 27 '10 14:06

sorin


1 Answers

Ubuntu 10.04 comes by default w/ Python 2.6.5, but the following python 3 packages are in the standard repositories as well:

python3                 python3.1-minimal       python3-dev
python3.0               python3.1-profiler      python3-doc
python3.1               python3.1-tk            python3-examples
python3.1-celementtree  python3.1-wsgiref       python3-gdbm
python3.1-cjkcodecs     python3.2               python3-gdbm-dbg
python3.1-ctypes        python3-all             python3-minimal
python3.1-dbg           python3-all-dbg         python3-pkg-resources
python3.1-dev           python3-all-dev         python3-profiler
python3.1-doc           python3-bsddb           python3-setuptools
python3.1-elementtree   python3-bsddb3          python3-tk
python3.1-examples      python3-bsddb3-dbg      python3-tk-dbg
python3.1-gdbm          python3-dbg

update:
for *ubuntu 11.04 the list is (as expected) a bit longer) note that I left out the python3.1- and python3.2- prefixed packages):

python3-all                 python3-examples            python3-pkg-resources
python3-all-dbg             python3-gdbm                python3-profiler
python3-all-dev             python3-gdbm-dbg            python3-pygments
python3-apt                 python3-gearman.libgearman  python3-pyudev
python3-apt-dbg             python3-httplib2            python3-serial
python3-beaker              python3-ipaddr              python3-setuptools
python3-bsddb3              python3-jinja2              python3-sip
python3-bsddb3-dbg          python3-jinja2-dbg          python3-sip-dbg
python3-cxx                 python3-lxml                python3-sip-dev
python3-cxx-dev             python3-lxml-dbg            python3-sqlalchemy
python3-dbg                 python3-mako                python3-tk
python3-dev                 python3-markupsafe          python3-tk-dbg
python3-distutils-extra     python3-markupsafe-dbg      python3-yaml
python3-dns                 python3-minimal             python3-yaml-dbg
python3-doc                 python3-objgraph            python3-zope.fixers   

UPDATE (2013-03-21):
The current version of *buntu (12.10) already has fairly many Python 3 packages available (>200; too many to list). Prominent exceptions include python3-django and python3-matplotlib (though the latter will be included in 13.04 Raring Ringtail). If you require a package not yet in the package manager but already ported, 12.10 includes both pip and easy_install for Python 3.

like image 173
Gerald Senarclens de Grancy Avatar answered Nov 15 '22 08:11

Gerald Senarclens de Grancy