Member Avatar for begueradj

Hello,

Where can I download Python 3.4.0 for Linux ?
On the official website of Python I can find releases only for Windows and Mac OS.

Thanks for your help.

I see 2 solutions

  1. You wait until python 3.4 is the packaged python 3 version in your linux distro (this is currently python 3.3.2+ in my kubuntu).
  2. You download the source tarball and you compile it yourself, using something like 'configure' and 'make altinstall'. There may be dependencies for the huge python standard library.

Most probably, you don't need python 3.4. Use the last python 3.3 for some time.

Member Avatar for begueradj

Thank you very much for your answer, but I do not find any Linux version for Python on the official website of Python !

First off, you may very well already have that version of Python installed. Python is widely used in many Linux distributions, and since Python 3.4 is the current stable version, it is safe to say that if you've kept up with your package updates, you may already have that version. Open a shell and type python --version and see what it says.

What Linux distribution are you using? Most distros have a package manager which allows you to download and install most software from within Linux itself. For Ubuntu, the package manager is Synaptics (actually, it's apt-get, but Synaptic is a graphical front-end for it); in Gentoo, it is Portage; in Red Hat, RPM; and so on. How you would use it depends on the package manager in question.

If you distro's package manager doesn't have a package for Python 3.4 yet, then you'll want to download and install the source distribution. The reason there is no pne-click installer for Linux is because Linux programs are usually distributed as source code; the groups that make the Linux distros create the packages from that. If you go back to the Python website, you'll find the source distribution packages. DOwnload that and follow the instructions for untarring and configuring it.

Member Avatar for begueradj

Thank You very much Schol-R-LEA.
I understand what you said.

Of course, I have already Python v-2.7, I just want to use version 3.x which thing I know how to do know thanks to your answer.

Regards.

Python 3 is probably already installed in your linux system. Open a terminal and type

python3

to see what it does.

Member Avatar for begueradj

I did python -v and it shows python 2.7
Thank you Griboullis, the problem is fixed :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.