Pages: [1]   Go Down
Author Topic: Downloading new IDEs  (Read 2218 times)
0 Members and 1 Guest are viewing this topic.
Sweden
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

it always bugs me to download a new Arduino IDE. Why? Because I have about 15 libraries downloaded from various places over the internet. To redownload them for a new IDE is not so easy because of that. Something that would make it much easier is if there there a installer/updater what only exchanged/added the new files needed into the already downloaded IDE. What would make it easier for non-geeks to download the IDE too. My dad (owner of KDAB) already talked about making something like that for the Arduino IDE, but he hasn't enough time.

So please, make it easier to install/update the Arduino IDE!

JanD
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have left the previous Arduino folder as it is. Just drop the new files and overwrite the old set. Separately "installed" libraries stays, unless newer version with the same name are added in to new IDE-package.
All my codes are elsewhere safe, where other documents are as well.

Now I must ask if there's any problems coming with that method? Arduino IDE don't change anything in Windows, so it should be ok? Everything works fine, but is there something that should be aware?

Cheers,
Kari
Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Sweden
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Let's see what I've got right:

1. You download the new version.
2. You unzip it into the installation path of the old version.
3. The old files get overwritten.
4. The files that aren't changed stay as they there.

Have I got it right? What would at least make sense.

JanD
Logged

London, GB
Offline Offline
Sr. Member
****
Karma: 8
Posts: 332
Nothing works.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don’t mess around with all those complicated steps, I just download it, then double click it. You get a window with the arduino app, and an alias of the Applications folder, and you just drag the app to the folder. That’s it — it just works!
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Complicated? Just as you said, new files over the old files. Only one step, right?
 smiley-roll

Kari
Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Sweden
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, I think I have understood. I will download 0022 later.

Thanks,
JanD
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Now I must ask if there's any problems coming with that method? Arduino IDE don't change anything in Windows, so it should be ok? Everything works fine, but is there something that should be aware?
Umm, there shouldn't be any issues but you'll end up with a load of unused old files.

It would be better (as has been discussed before), if user libraries can be loaded from user documents locations. Then the old IDE could be deleted, a new one loaded and the user-added libraries would remain.
IDE bundled libraries would be updated with no effect on user libraries.
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, that is not a problem. Every now and then I can do a cleaning, but what is few hundred extra megabytes with these new computers...
 smiley-wink

My point was that so called installation with never packages over he old is simple.

But it would be a nice improvement to be able to combine at least two different independent library sets. Users responsibility would be to check that there is no two identically named libraries. Maybe we get that option someday, but I'm good with this.


Cheers,
Kari
Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It would be better (as has been discussed before), if user libraries can be loaded from user documents locations

They are.  Libraries should no longer be placed in the Arduino IDE folder but should be placed in...

{SketchFolder}\libraries
Logged

Aurora, IL USA
Offline Offline
Jr. Member
**
Karma: 3
Posts: 56
Felix qui potuit rerum cognoscere causas.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There's a nugget of a good idea tucked in here, I think. Has anyone given thought to something similar to Perl's CPAN (or Python's cheeseshop/easy_install/pip, or Ruby's gem)? ie. a simple means of distributing libraries of code to users in a useful manner? Good IDE integration could make for a pretty painless new user experience.

(Mind you, the problem of one library making use of another in a uniform, cross-platform manner probably needs to be addressed first.)
Logged

-Ed
Felix qui potuit rerum cognoscere causas.

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It would be better (as has been discussed before), if user libraries can be loaded from user documents locations

They are.  Libraries should no longer be placed in the Arduino IDE folder but should be placed in...

{SketchFolder}\libraries

They are?
Seems to me they're in {arduino-0022}\libraries
Logged

Aurora, IL USA
Offline Offline
Jr. Member
**
Karma: 3
Posts: 56
Felix qui potuit rerum cognoscere causas.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Libraries that are shipped with the IDE live there, and you can install libraries there if you like, but you can also install them in a "libraries" subdirectory of your sketch folder. This is "kind of a big deal" on Linux, where the distribution may have supplied a package of the Arduino IDE, which a normal user account wouldn't have permission to write to.
Logged

-Ed
Felix qui potuit rerum cognoscere causas.

Sweden
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I didn't think this would make up discussion like this. But the solution just to have two different library paths would do it.
Something for the future (and I mean future): Then pressing update in the IDE it automatic updates the program code of the IDE, core files etc. it then looks in some place there as many as possible libraries are located if any library that you have downloaded has a new version. If that's the case it downloads the new version of that library. As sad, for the future.\

JanD
Logged

Pages: [1]   Go Up
Jump to: