{SOLVED]Installin 1.6.10 fails on Linux / Ubuntu 16.04

Edited from IDE 1.6.12 to release 1.6.10

SOLVED with install script modifications

QUOTE
If you don’t find the option to run the script from the contextual menu, you have to open a Terminal window and move into the arduino-1.6.x folder. Type the command ./install.sh and wait for the process to finish. You should find a new icon on your desktop.
En of QUOTE
|

The above procedure installs IDE 1.0.5 , not IDE 1.6.10 

[code]
jim@jim-desktop:~/Downloads/arduino-1.6.10$ ls -l
total 4172
-rwxr-xr-x  1 jim jim    1008 Jul 26 09:16 arduino
-rwxr-xr-x  1 jim jim 4136848 Jul 26 09:16 arduino-builder
drwxr-xr-x  2 jim jim    4096 Jul 26 09:17 dist
drwxr-xr-x 13 jim jim    4096 Jul 26 09:16 examples
drwxr-xr-x  4 jim jim    4096 Jul 26 09:17 hardware
-rwxr-xr-x  1 jim jim    9182 Jul 26 09:16 install.sh
drwxr-xr-x  6 jim jim    4096 Apr  1 00:17 java
drwxr-xr-x  4 jim jim    4096 Jul 26 09:16 lib
drwxr-xr-x 20 jim jim    4096 Jul 26 09:16 libraries
drwxr-xr-x  6 jim jim    4096 Jul 26 09:16 reference
-rw-r--r--  1 jim jim   76670 Jul 26 09:16 revisions.txt
drwxr-xr-x  4 jim jim    4096 Jul 26 09:16 tools
drwxr-xr-x  3 jim jim    4096 Jul  1 04:02 tools-builder
-rwxr-xr-x  1 jim jim      86 Jul 26 09:16 uninstall.sh
jim@jim-desktop:~/Downloads/arduino-1.6.10$ ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE... done!
jim@jim-desktop:~/Downloads/arduino-1.6.10$ 

installing 1.6.4 aslo shows  arduino 1.0.5 was actually instal not 1.6.4 

jim@jim-desktop:~/Downloads/Arduino1.6.4/arduino-1.6.4$ sudo apt list arduino
[sudo] password for jim: 
Listing... Done
arduino/xenial,now 2:1.0.5+dfsg2-4 all [installed]

|[code]

[/code]
[/code]