2

I am trying to install Arduino IDE in my Raspberry Pi model 3 but it is unable to locate file path.

I use the following steps

sudo apt-get update && sudo apt-get install arduino 

and in result I found this

pi@raspberrypi:~ $ sudo apt-get update && sudo apt-get install arduino 
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease                 
Ign:2 http://repository.pi4j.com wheezy InRelease                
Hit:3 http://repository.pi4j.com wheezy Release    
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package arduino

I am searching for a solution but not able to understand what's the problem here.

Any ideas to make it work will be helpful.

  • Have you tried grabbing the Linux ARM build directly from arduino.cc/en/Main/Software and installing it? Have you tried searching for the package name? apt-cache search arduino – Maximilian Gerhardt Sep 10 '18 at 7:37
  • Downloading the latest version from the arduino.cc is much better idea. If there is Arduino IDE available in the repository, it's usually super obsolete. For example version in Ubuntu repositories is 1.0.5. – KIIV Sep 10 '18 at 8:56
2

Visit https://www.arduino.cc/en/Main/Software in your browser, and click the Linux ARM link under ‘Download the IDE’.

cd Downloads/
tar -xf arduino-1.8.3-linuxarm.tar.xz

Extract the file to your /opt directory, then open a Terminal and run the install.sh script to install.

sudo mv arduino-1.8.3 /opt
sudo /opt/arduino-1.8.3/install.sh

You will find Arduino IDE under Menu > Programming. Open the app to start programming your Arduino board.

Hope this helps.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.