Home / Programming /

Swift On Linux

(specifically Ubuntu 18.04)

  1. install the following:
  2. download swift:
  3. install swift:
    1. tar -xvf swift-file.tar.gz
    2. sudo mv [unarchivedFolder] /usr/share/swift
    3. echo "export PATH=/usr/share/swift/usr/bin:$PATH" >> ~/.bashrc
    4. source ~/.bashrc
  4. verify it's installed:

this document last modified: March 08 2020 17:39

Home / Programming /