Just a heads up. The documentation for installing Arduino on Linux here is a little out of date:
The instructions say to install the libncurses5:i836 package. libncurses5 is out of date and (as far as I can tell) has been depreciated. It should be updated to libncurses6:i386.
Hmm, it kind of seems like the libncurses package isn’t required at all. (anymore?)
It didn’t work for me until I installed the libncurses6 package, but I’m rusty with Linux. The last time I ran it on a machine was a decade ago, so there is a decent chance I missed something when getting everything set up.