I have been trying to install Arduino IDE on my raspberry Pi :
I tried :
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install arduino
but it did not work
I also tried:
Downloading Arduino for linux of 32 bit and 64 bit and also ARM,
and then
sudo chmod +x install.sh
sudo ./install.sh
BUT, that did not work either it.
IT SHOWED ME THIS ERROR:
sudo chmod 777 install.sh
pi@raspberrypi:~/Downloads/arduino-nightly $ sudo ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...xdg-mime: file '/home/pi/Downloads/arduino-nightly/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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
xdg-desktop-menu: filename 'cc.arduino.arduinoide.desktop' 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 filename is 'example-cc.arduino.arduinoide.desktop'
Use --novendor to override or 'xdg-desktop-menu --manual' for additional info.
xdg-desktop-icon: filename 'cc.arduino.arduinoide.desktop' 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 filename is 'example-cc.arduino.arduinoide.desktop'
Use --novendor to override or 'xdg-desktop-icon --manual' for additional info.
xdg-mime: file '/home/pi/Downloads/arduino-nightly/lib/cc.arduino.arduinoide.xml' does not exist
touch: cannot touch ‘/root/.local/share/applications/mimeapps.list’: No such file or directory
/usr/bin/xdg-mime: 781: /usr/bin/xdg-mime: cannot create /root/.local/share/applications/mimeapps.list.new: Directory nonexistent
done!
Apurva_Patel:
Downloading Arduino for linux of 32 bit and 64 bit and also ARM
The "Linux ARM" download is the one you want.
Apurva_Patel:
Use --novendor to override
Well, did you try it?
Apurva_Patel:
sudo chmod 777 install.sh
pi@raspberrypi:~/Downloads/arduino-nightly $ sudo ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...xdg-mime: file '/home/pi/Downloads/arduino-nightly/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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
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'
Use --novendor to override or 'xdg-icon-resource --manual' for additional info.
xdg-desktop-menu: filename 'cc.arduino.arduinoide.desktop' 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 filename is 'example-cc.arduino.arduinoide.desktop'
Use --novendor to override or 'xdg-desktop-menu --manual' for additional info.
xdg-desktop-icon: filename 'cc.arduino.arduinoide.desktop' 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 filename is 'example-cc.arduino.arduinoide.desktop'
Use --novendor to override or 'xdg-desktop-icon --manual' for additional info.
xdg-mime: file '/home/pi/Downloads/arduino-nightly/lib/cc.arduino.arduinoide.xml' does not exist
touch: cannot touch ‘/root/.local/share/applications/mimeapps.list’: No such file or directory
/usr/bin/xdg-mime: 781: /usr/bin/xdg-mime: cannot create /root/.local/share/applications/mimeapps.list.new: Directory nonexistent
done!
Please use code tags (</> button on the toolbar) for this sort of output.
Same issue in Odroid (also ARM) and I am using the arduino-1.8.2-linuxarm.tar.xz. Adding --novendor to the install.sh script removed most of the error messages but I still get the following:
Adding desktop shortcut, menu item and file associations for Arduino IDE...xdg-mime: file '/home/odroid/arduino/lib/cc.arduino.arduinoide.xml' does not exist
xdg-mime: file '/home/odroid/arduino/lib/cc.arduino.arduinoide.xml' does not exist
mv: replace '/home/odroid/.local/share/applications/mimeapps.list', overriding mode 0644 (rw-r--r--)? y
mv: replace '/home/odroid/.config/mimeapps.list', overriding mode 0644 (rw-r--r--)? y
done!
I posted the a similar reply on Github
But just in case for those of you with the same issue
If you change cc.arduino.arduinoide into arduino-arduinoide, not only remove the cc. but also change the dot into a dash between arduino and arduinoide
You can open the install.sh file on the Raspberry Pi just normally in the simple text editor by right-clicking the file.Just save the file with the same name by replacing it.
and than execute the script in the terminal.
That should do the trick.
I had this issue on Linux Mint on my regular notebook.
Like said above - you have to do what Destroyer07 and achim_boers wrote. Then you normally run install script. It is posible that new-created desktop icons won't work. It's fine. Just find Arduino IDE in apps-menu ("start menu"/depending of your Linux distro) and then create proper desktop shortcut.
Arduino team - maybe you could fix this problem in next IDE?
Am unable to install the Arduino IDE on my Raspberry Pi 3.
Suggestions are appreciated.
Download the Arduino IDE linuxarm 1.8.6 terminal notes cd Downloads/ tar -xf arduino-1.8.6-linuxarm.tar.xz sudo mv arduino-1.8.6 /opt sudo /opt/arduino-1.8.6/install.sh Adding desktop shortcut, menu item and file associations for Arduino IDE...touch: cannot touch ‘/root/.local/share/applications/mimeapps.list’: No such file or directory /usr/bin/xdg-mime: 781: /usr/bin/xdg-mime: cannot create /root/.local/share/applications/mimeapps.list.new: Directory nonexistent done! Download the Arduino IDE linuxarm 1.8.6 hourly build terminal notes cd Downloads/ tar -xf arduino-nightly-linuxarm.tar.xz sudo mv arduino-nightly /opt sudo /opt/arduino-nightly/install.sh Adding desktop shortcut, menu item and file associations for Arduino IDE...touch: cannot touch ‘/root/.local/share/applications/mimeapps.list’: No such file or directory /usr/bin/xdg-mime: 781: /usr/bin/xdg-mime: cannot create /root/.local/share/applications/mimeapps.list.new: Directory nonexistent done!
Adding desktop shortcut, menu item and file associations for Arduino IDE...touch: cannot touch '/root/.local/share/applications/mimeapps.list': No such file or directory
/usr/bin/xdg-mime: 803: /usr/bin/xdg-mime: cannot create /root/.local/share/applications/mimeapps.list.new: Directory nonexistent
done!
excited to learn Arduino by completing practice projects but hung up in ide troubleshooting. is it becasue im trying to use ide within raspbian or possibly because its a 3B+?