In this tutorial I will show you how to program arduino with the raspberry pi.
All you need are:
Raspberry pi with internet connection
Step 1: What to Do
Go in to the raspi lxterminal and type in sudo apt-get install arduino.
Once you hit enter it will download and once you finish restart the pi.
This video will help u through it.