Fixing the Arduino IDE on Ubuntu 20.04/22.04
2022-12-14
This post is older than 2 years...
...and might not reflect my current views or the state of things anymore. Take it with a grain of salt, but enjoy :)
When you try to install the Arduino IDE on Ubuntu 20.04/22.04 or one of its derivatives via the default apt repositories, you won't get past the loading screen. This has to do with missing dependencies for serial communication. Luckily enough, you can fix this issue rather easily...
-
Install the needed tools with
sudo apt install libserialport0 patchelf. -
Patch the dependencies with
sudo patchelf --add-needed libserialport.so.0 /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0. -
(Optional) Add your user to the necessary groups with
sudo usermod -a -G dialout $USER && sudo usermod -a -G tty $USER.
That is it, enjoy your working Arduino IDE and thank me later...