Problem Installing Arduino 1.8.2 Linux 64 bit (Ubuntu 16.04)

Problem Installing Arduino 1.8.2 Linux 64 bit (Ubuntu 16.04)

After downloading and extracting and right clicking install.sh
there was no NO RUN COMMAND

Used Terminal and received the following “No Vendor Error”

dmk@dmk-HP7800:~/Downloads/arduino-1.8.2$ ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...xdg-mime: file '/home/dmk/Downloads/arduino-1.8.2/lib/cc.arduino.arduinoide.xml' does not exist
xdg-icon-resource: icon name 'cc.arduino.arduinoide' does not have a proper vendor prefix
A vendor prefix consists of alpha characters ([a-zA-Z]) and is terminated
with a dash ("-"). An example icon name is 'example-cc.arduino.arduinoide'

Solved- see

hmattiasl Comment 03-29-2017

"I had the same problem while installing Arduini IDE 1.8.2 on a Ubuntu machine. The resource name in the install.sh file is wrong. When I looked in the Arduino-1.8.2/lib there is a file named arduino-arduinoide.xml file. So I changed the "RESOURCE_NAME=cc.arduino.arduinoide" to "RESOURCE_NAME=arduino-arduinoide" and then run ./install.sh and that worked fine for me.
"

DMKWSU