I got this error: avrdude: error while loading shared libraries: /usr/lib/libtinfo.so.5 And after an hour of research and troubleshooting a found this workaround: sudo ln -s /usr/lib/libncursesw.so.6 /usr/lib/libtinfo.so.5 Now I can upload sketches to my nano.