Friday, 11 December 2015

Installing apple swift language compiler on Fedora 22/Fedora 23/Centos 7/Redhat 7

Apple shook up the OSS world last week when it released the open source version of its swift language compiler stack for Mac OSX and Linux.

While they say "Linux" what they really mean is "Ubuntu Linux", as the binary builds provided are built against Ubuntu 14.10 or 15.02.

You can technically run these binaries on fedora but it requires a lot of hackery, symlinking missing library versions to others that are available in the f22 or 23 repos.

So I decided to see if it would be possible to build the swift compiler suite on fedora, and it turns out it is, with a few caveats.

I have put the script I used on github  ( ) and encourage people to give it a try. Let me know about your experiences and if you create any fixes for any problems then please pass them back to me.

Right, I'm off to learn swift.... ohhh and get the swift mongodb driver I found up and working.