How to Quick-Start with Swift Programming on Fedora 30 GNU/Linux

March 18, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Setting Up

  1. 5. Installing Swift

    Next to Install Swift Platform
    Relocate the Swift stuff with:

    sudo mv /tmp/swift* /opt/swift

    Again Set the SuperUser as Owner:

    chown -R root:root /opt/swift

    And finally, import the GPG Key:

    wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
  2. 6. Setting Up PATH

    Now Amend the User PATH
    Edit the Bash Configuration File to Append the Binaries into the Working Environment:

    echo 'export PATH=/opt/swift/usr/bin:$PATH' >> ~/.bashrc

    ReLoad the PATH simply with:

    bash

Tags: , , , , , , , , , , , , , , , , , , , ,