I've been trying to follow the instructions mentioned in Swift.org - Download Swift for downloading and setting up Swift on an AL2 machine. For start, the part for installing dependencies, there are two of them that fail to be installed:
And this would result in getting following error message when running any swift command:
$ swift --version swift: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Is there anything I'm missing or need to setup first to be able to install those dependencies?