libtinfo.so.5 Missing in Fedora 31

Hello Folks,

I've spent a couple hours on this, learning all the time. The error message is thus

An error occurred while uploading the sketch
/opt/arduino/hardware/tools/avr/bin/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

I've gone through several suggestions mainly dealing with linking the file name (soft link). Linking to libtinfo.so.5.9 doesn't work. Linking to libncursesw.5.9 doesn't work. I tried installing ncurses5-compat-libs but it does not exist in my repos. ncurses-compat-libs is installed. I don't know what to try next.

Help would be greatly appreciated.

LoggerBoy

Right track, wrong line! The installed version of Arduino is 64 bit and therefore uses the library directory /lib64. That is were currently we need to create the link. Use this as root in a terminal

ln -s libtinfo.so.6.1 libtinfo.so.5

Sudo it if you use sudo.

You will likely have to add the group dialout to your user name with sudo usermod -a -G dialout <username>
Then once you restart your system you should be ready to go.