Loading…

Bringing Swift to Arm SBC's

Downloads, Code Examples and More...
Start exploring

How To Install Swift

Swift Install packages are now available and hosted on packagecloud.io

The PackageCloud.io Swift-Arm Repo

How to use – sudo apt-get install<package name>
Example: To install swift5 = sudo apt-get install swift5
Example: To remove swift5 = sudo apt-get remove swift5
The repo will only make packages available that are compatible with your system.
This based on cpu architecture and the OS installed.
If you try to install a version that is not compatible you will get this error E: Unable to locate package


Swift Package Details on Swift-Arm Community Releases

To add repo:-
$ curl -s https://packagecloud.io/install/repositories/swift-arm/release/script.deb.sh | sudo bash

Swift for Raspberry Pi

Package = swift5 (This is a full version of Swift 5 including the Swift Package Manager)
Board = All Raspberry Pi Models.
OS = Raspbian Stretch / Raspbian Buster
Thanks to @uraimo for these builds.
$ sudo apt-get install swift5

Swift Armv7 Versions

Package = swift5 (This is a full version of Swift 5 including the Swift Package Manager)
Board = Armv7 e.g. Asus TinkerBoard, Odroid, OrangePi, NanoPi etc.
OS = Debian Stretch / Ubuntu 16.04 / Ubuntu 18.04
$ sudo apt-get install swift5

Swift Arm64/aarch64 Versions

Note Needs 64bit OS
Package = swift5 (This is a full version of Swift 5 including the Swift Package Manager)
Board = Arm64/aarch64 e.g. Rock64, RaspberryPi3, RockPro64.
OS = Debian Stretch / Ubuntu 16.04 / Ubuntu 18.04
$ sudo apt-get install swift5