Playground.arduino.cc will be read-only starting December 31st, 2018. For more info pleae 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.