Swift on Ubuntu Server 18.04 & 20.04 LTS

I setup a Ubuntu Server 18.04 LTS VM earlier and this is why. I have some Swift code I want to try running on an Amazon Web Server and needed a playground to get it running.

The Swift Download page has a set of instructions on installing Swift on a Ubuntu install so we’ll run through these.

Updated 27th April 2020: A few days after writing this post Ubuntu released 20.04 LTS. I’ve gone through these instructions in a Ubuntu Server 20.04 LTS VM, and other than a couple of extra dependancies (see below) the install process is the same.

Read More