Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

Install Arduino on Raspbian Linux

Use the "Linux ARM' download from: https://www.arduino.cc/en/Main/Software.

DO NOT use sudo apt-get install arduino because you will get an extremely outdated and possibly non-standard version of the Arduino IDE.