Had similar problem. Bought 2 Arduino Due boards, got the message that they require the 1.6.5 IDE, so I downloaded it. It didn’t have the Due listed as an option. Had to go to the board manager to download drivers for that board. Going to my Linux laptop (ubuntu 14.10), it had the 1.0.5 IDE. So I downloaded the 64-bit Linux version. It went to the Downloads folder as
From the above post, the file was downloaded to the Desktop folder, with a different rev name. That’s OK.
I opened the archive file using the default Archive Manager by double-clicking the icon for the file in File Manager.
The path I show above is what would be observed in a terminal window.
Since the Archive Manager showed several directories as well as several files, and I already had other files in the Downloads folder (folder == directory), I didn’t want to merge all of the files by simply extracting them into the Downloads folder. Doing that would cause problems if I needed to move files later. I wouldn’t be sure which files belonged to this download. So, I made a new folder within the downloads folder, and moved the download to it.
I could then double-click on this archive file, in this folder, and extract the files here without worries about mixing things up.
When they were all extracted, listing the files in this new folder (from the terminal) shows there to be one executable file (as shown by green lettering instead of the default white). If I use the procedure stated above ( ./arduino ), the script executes and the IDE comes up immediately. However, if I go back to the program launcher to load the program I get the old IDE. This is consistent, because the ./ syntax tells bash to run the program in the current directory. The “arduino” script in that directory has to access files in the other directories which were extracted to function. If these other files and folders get mixed with other things, as is likely to occur if the archive is extracted to the Desktop (or in my case, the Downloads folder), at some future time one or more of those folders might be moved or deleted, causing the IDE to stop working.
There is an “install” script as one of the ‘other’ files, but one notices (in the terminal, white color NOT green) that it isn’t executable. One must make it executable to run it.
cd ~/Downloads/arduino-1.6.5-r5-x64 (in the terminal, for my case)
ls (to make sure install.sh is there)
chmod +x install.sh
At this point one could just run
However, I mentioned that I had moved the archive file to that folder, and extracted it.
If the install script, does all the moves it requires in the installation, it might cleanup, deleting ALL the files in this folder.
I didn’t want to have to download the archive again, so I moved it back to the Downloads folder before issuing the ./install.sh command, from the new folder.
As it turns out there was no cleanup. All the extracted files remained. That isn’t always the case. At this point, I can leave or delete that whole directory if I desire.
The install script doesn’t do any uninstal of the application downloaded from the ubuntu repository. The App launcher will still bring up the “OLD” install. The NEW IDE 1.6.5 has an icon on the desktop now, which brings up the new App.
While I was in the 1.6.5 IDE from the “immediate” run, I had gone out to the board manager, and downloaded the stuff for the Arduino Due, but I expected that the “installed” version would need to have this done again. I was surprised that this version was able to access the required drivers without doing another download.
If you are not comfortable moving around in the BASH shell (in the terminal) reviewing those commands helps understand what is required. It is what allowed me to understand what the above posters did, to issue proper commands on my system.