3
Contributors
6
Replies
53
Views
3 Years
Discussion Span
Last Post by begueradj
1

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.

Edited by Gribouillis

0

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

1

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.

Edited by Schol-R-LEA

0

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.

1

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

python3

to see what it does.

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.