Install Swift
Follow the instructions below to install the latest version of Swift on a supported platform.
Select Linux platform:
Select Red Hat Universal Base Image version:
Latest Release (Swift 6.0.2)
-
Docker
The official Docker images for Swift.
6.0.2-rhel-ubi9 Instructions -
Tarball
Tarball packages (.tar.gz)
Instructions
-
Static Linux SDK
Static Linux SDK - Cross compile to Linux
- Signature (PGP)
-
Checksum:
aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075
Older Releases
Release | Date | Toolchain | Docker |
---|---|---|---|
Swift 6.0.1 | September 24, 2024 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 6.0.1-rhel-ubi9 |
Swift 6.0 | September 16, 2024 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 6.0-rhel-ubi9 |
Swift 5.10.1 | June 5, 2024 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 5.10.1-rhel-ubi9 |
Swift 5.10 | March 5, 2024 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 5.10-rhel-ubi9 |
Swift 5.9.2 | December 11, 2023 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 5.9.2-rhel-ubi9 |
Swift 5.9.1 | October 19, 2023 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 5.9.1-rhel-ubi9 |
Swift 5.9 | September 18, 2023 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 5.9-rhel-ubi9 |
Swift 5.8.1 | June 1, 2023 | x86_64 Signature (x86_64) aarch64 Signature (aarch64) | 5.8.1-rhel-ubi9 |
Development Snapshots
Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.
-
main
Tarball (tar.gz)
Docker
nightly-rhel-ubi9 -
release/6.0
Tarball (tar.gz)
Docker
nightly-6.0-rhel-ubi9
-
Instructions (Tarball)
Instructions (Docker)
Static Linux SDK
-
main
Static Linux SDK - Cross compile to Linux
- Signature (PGP)
-
Checksum:
be9bf90d382405feeff21bc6b2bda5b1ba0df7d8fdcdca37bdd23dd21076613a
-
release/6.0
Static Linux SDK - Cross compile to Linux
- Signature (PGP)
- Checksum:
83a88650cd0675552ce2cf8159c31966fde73418f49493c1644073fffe8be9f4
Instructions (Static Linux SDK)