Swift on Linux was a big surprise when Apple released Swift so that it was open source. However, running Swift on Linux is not quite the same as running it on macOS, iOS, iPadOS, or tvOS. Running Swift on Linux means essentially running it in an environment that is very different from Apple platforms. In this section, we will look at two specific aspects:
- The current state of Swift on Linux: Where are we at with Swift for Linux?
- Installing Linux on Ubuntu: We'll install Swift on an Ubuntu instance.
Let's start with the current state of Swift.