6

I am trying to install the text editor IDLE using Python 3.3.2 in Ubuntu 12.04, but from the Ubuntu Software Centre I have been told that there is no package called idle-python 3.3 from current software sources.

Does this mean that it is not possible to install for Ubuntu 12.04? Could I update those sources to include that package (idle-python 3.3) for Ubuntu 12.04?

kiri
  • 28,246
  • 16
  • 81
  • 118
user1881983
  • 61
  • 1
  • 1
  • 4
  • 1
    In the terminal run sudo apt-get install idle3. If you are not sure about the name of a package you can run apt-cache search <string> which will look for packages which contains <string> in their names or descriptions. – edwin Jul 07 '13 at 18:58
  • Possible duplicate: this post – Misery Jul 07 '13 at 19:05

1 Answers1

4

In the terminal run

sudo apt-get install idle3

(The right package name for IDLE with Python 3 is idle3 I think you can check it Software Center.)

If you are not sure about the name of a package you can run apt-cache search <string> which will look for packages which contains <string> in their names or descriptions.

Edit:

To use Python 3.3 in 12.04:

  • You can try bootstrapping Raring/Saucy. See pbuilder HowTo. (Kind of complicated, but very good.)
  • Or you can try installing Debian+Xfce testing or Xubuntu 13.04 in VirtualBox. (This depends on your system capabilities, that's why I recommend a lightweight DE.)
  • You can even try building Python 3.3 from source and installing it in a folder of your preference, but don't know how much effort this would take.

Of course, the most 'trivial' alternative would be to upgrade from Precise to Raring. Specially good if you can backup your important data and do a clean install.

edwin
  • 3,799
  • 20
  • 33
  • Yes, I installed idle 3, but in the python shell is indicated as default version 3.2.3 but I downloaded and built the 3.3.2. It will work the shell with this last version anyway? – user1881983 Jul 07 '13 at 19:31
  • Sorry, I didn't notice you were talking about a non (yet) official version of Python (at least for Ubuntu 12.04). You should upgrade to Ubuntu 13.04 or get comfortable with Python 3.2. Either way, why do you need to use Python 3.3?? – edwin Jul 07 '13 at 19:42
  • It is no essential, but it is the version asked in one course on-line of Coursera.It is about lineal algebra using Python and the course especifies Python 3.3.2.Would it be unimportant this detail? On the other hand,is there any other Python editor from where to configure the wished version? – user1881983 Jul 08 '13 at 10:33
  • To the first question, I don't think there's any importance in this detail (unless the course is about Python internals and advanced stuff), anyway you should ask the course staff. To the second question you can try bootstrapping Raring/Saucy: PBuilder HowTo. Or you can try installing Debian testing or Xubuntu 13.04 in VirtualBox. – edwin Jul 08 '13 at 15:57