Do not install Arduino IDE from Raspberry repository:
sudo apt install arduino
Go to official Arduino website and download Linux ARM 32 bits version, extract all files (e.g. ‘Extract here option’) from File Manager.
Start terminal and go to directory where you’ve just unpacked Arduino IDE files:
# in my case (as of Feb 2020 and default user name): cd /home/pi/Downloads/arduino-1.8.12 sudo ./install.sh
Arduino IDE will be installed into /home/pi/.arduino15 directory. You can check it:
ls -la /home/pi