michielsjef
Posts: 4
Joined: Thu Nov 15, 2018 9:33 pm

UpdateThonny

Thu Nov 15, 2018 10:06 pm

I installed raspbian and it comes with Thonny 2.1.16 and Python 3.5.3. I would like to update to Thonny 3.0.5.
I failed using a package manager (synaptic) as well as with commande line (sudo apt install python3-thonny).
Both methods said the latest version is 2.0.16, which is not true.
How to update Thonny?
Thanks.

klricks
Posts: 6627
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: UpdateThonny

Fri Nov 16, 2018 5:08 am

michielsjef wrote:
Thu Nov 15, 2018 10:06 pm
I installed raspbian and it comes with Thonny 2.1.16 and Python 3.5.3. I would like to update to Thonny 3.0.5.
I failed using a package manager (synaptic) as well as with commande line (sudo apt install python3-thonny).
Both methods said the latest version is 2.0.16, which is not true.
How to update Thonny?
Thanks.
Thonny 2.1.6 is the latest in the default Raspbian Stretch repository. So the PM or command line will only see that version.
Raspbian Stretch closely follows Debian Stretch which has a very strict update policy. Basically only security updates are let through.
There is a new major release about every 2 years so most software will be held at the same version until the next major update.
The next release is named 'Buster' and is due out mid 2019 and will have Thonny 3.0.5
It is not uncommon for Debian software packages to be several versions behind what might be available elsewhere.

It may be possible to get later versions by changing to a different repository but not recommended because it is very easy to trash the current OS if you don't know exactly what you are doing.

Is there a specific reason that you think you need 3.0.5?
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

DirkS
Posts: 10018
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: UpdateThonny

Fri Nov 16, 2018 7:43 am

klricks wrote:
Fri Nov 16, 2018 5:08 am
Thonny 2.1.6 is the latest in the default Raspbian Stretch repository. So the PM or command line will only see that version.
Raspbian Stretch closely follows Debian Stretch which has a very strict update policy. Basically only security updates are let through.
Thonny is actually in the RPF repo, so it does not necessarily follow the Debian policies
Also see viewtopic.php?f=66&t=226486

User avatar
B.Goode
Posts: 8987
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: UpdateThonny

Fri Nov 16, 2018 8:28 am

How to update Thonny?


Use the most recent, November 2018, release of Raspbian for which the Release Notes say:
* Version 3.0.5 of Thonny included

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6086
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: UpdateThonny

Fri Nov 16, 2018 8:31 am

It should be in the repo later today.

User avatar
Paul Webster
Posts: 812
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: UpdateThonny

Fri Nov 16, 2018 2:16 pm


DirkS
Posts: 10018
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: UpdateThonny

Fri Nov 16, 2018 3:18 pm

Paul Webster wrote:
Fri Nov 16, 2018 2:16 pm
V3 features in today’s blog post
https://www.raspberrypi.org/blog/raspbi ... mber-2018/
Update/upgrade (or fresh install, of course) will get you 3.0.8

michielsjef
Posts: 4
Joined: Thu Nov 15, 2018 9:33 pm

Re: UpdateThonny

Sat Nov 17, 2018 5:51 pm

Thank you all for your answers.
I installed Raspbian a week before the new release, without knowing it :D . I will try to update the OS.

The reason I wanted to update Thonny is to get the latest version of Python (I'm already an advanced user of statistical software like R, SAS and JSL and wanted to learn Python).

Probably, it is possible to update Python without updating Thonny ?
This is my next question. But first, I will try to update the OS.
Thanks.

Idahowalker
Posts: 445
Joined: Wed Jan 03, 2018 5:43 pm

Re: UpdateThonny

Sat Nov 17, 2018 6:10 pm

Last night, using Synaptic, I got a Thonny update.
Without knowing why you are deleting my postings, I will not know how...

Return to “Python”