go to the LX terminal and type in the code in the next step.
Step 3: Type In Code
type in the following code:
sudo apt-get install arduino
press enter and wait a good while until it is downloaded
Step 4: Move IDE To Desktop
go to the LX menu in the bottom of the screen it is sort of like the start menu on Windows but its Linux. Adding the icon to the desktop isn't hard just go into the menu and you should see a "Electronics button" right click it and choose add to desktop.
Step 5: Opening IDE And A Sketch
open a sketch in the arduino program and upload it to your arduino it should have the same bars as Windows but different i.e. file, edit, and so on. look for example in the file tab and you will find some menus. Look for basics and click fade or blink. choose the arrow pointing right to upload you must have your arduino plugged into the pi via the usb.
Step 6: Enjoy
enjoy and have fun I hope I have inspired you to do your own projects with a raspberry pi and arduino.