Swift-Arm
HomeNewsInstall SwiftContact

How to install Swift on Arm Powered Devices

Private NPM registry and Maven, RPM, DEB, PyPi and RubyGem Repository · packagecloud

Quick Start using the Swift-Arm Package Repository

For Debian based distro's

Install the Swift-Arm package repository.
Install Swift.

For RedHat based distro's

Install the Swift-Arm package repository.
NOTE: for Amazon Linux use the following.
Install Swift.

Compatible Systems and Distro's

Debian based Linux Distributions

    Available from the Swift-Arm package repository
  • Debian 10 Buster
  • Ubuntu 18.04 / 20.04 / 20.10 / 21.04

  • Raspberry Pi OS / Raspbian Buster (32 bit)
  • Raspbian Buster 64bit Beta

RedHat based Linux Distributions

    Available from Swift-Arm the package repository
  • Amazon Linux 2
  • CentOS 8

  • Available from the Fedora package repository
  • Fedora

Other Systems and Special Cases

Other Distro's based on Debian and Ubuntu such as Mint, Elementary OS, Lubuntu, Deepin, Kali Linux etc

If your distro is based on the latest Debian or Ubuntu versions the install script fails to find a Swift package,you can manually install Swift by downloading the equivalent Debian or Ubuntu package closest to the version of your OS.

For example if you are using Linux Mint 20.1 which is based on Ubuntu Focal
You will need to download the .deb installation package for Ubuntu 20.04 Focal.
The wget download link is available on the package release page.
https://packagecloud.io/swift-arm/release/packages/ubuntu/focal/swiftlang_5.3.2-4-ubuntu-focal_arm64.deb
Then use following command to install Swift.

Raspberry Pi OS and Raspbian Buster 32bit versions

The official OS for the Raspberry Pi is still 32bit and will restrict the version of Swift that you can install.
The latest version of Swift available for 32bit arm is 5.1.5.
If you need the latest version of Swift you will need to install a 64bit OS.
Ubuntu 20.10, 21.04 and Raspbian 64bit Beta are available.
© 2021, All Rights Reserved.

Quick Links

About UsContact Us

Legal Stuff

Social Media