arduino ide upgrade on raspberry pi

Go here and download the Linux ARM version. Works on Raspberry Pi 2 and 3.