For distros failing with the libtinfo.so.5 error
For Arch-based distros make sure you install ncurses5-compat-libs from the AUR.
ncurses5-compat-libs
If you really don't want to you can run: sudo ln -s /lib/libtinfo.so.6 /lib/libtinfo.so.5
sudo ln -s /lib/libtinfo.so.6 /lib/libtinfo.so.5