Skip to content

Instantly share code, notes, and snippets.

@iharkatkavets
Created September 23, 2023 08:07
Show Gist options
  • Save iharkatkavets/592078d1d4ce267dfcf0883b71b9bbf0 to your computer and use it in GitHub Desktop.
Save iharkatkavets/592078d1d4ce267dfcf0883b71b9bbf0 to your computer and use it in GitHub Desktop.
Install `swift` on Raspberry Pi

All next stepts are performed in Raspberry Pi environment

  1. Create a temporary directory
cd ~ && mkdir swift5.9 && cd !$
  1. Download the latest Swift version for ARM architecture(aarch64). On the moment of preparing the manual the latest version is 5.9
wget https://download.swift.org/swift-5.9-branch/ubuntu2004-aarch64/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-09-21-a/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-09-21-a-ubuntu20.04-aarch64.tar.gz
  1. Extract the acrhive
tar -xzvf swift-5.9-RELEASE-ubuntu20.04-aarch64.tar.gz
cd swift-5.9-RELEASE-ubuntu20.04-aarch64/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment