Swift Programming Ubuntu 20.04 Getting Started Guide

June 7, 2020 | By the+gnu+linux+evangelist.

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
  3. 7. Testing Swift

    Finally, to Test Swift Setup
    Simply with:

    swift --version

    In Output you should see the Swift version notice…

  4. 8. Swift Getting Started

    How to Quick Start with Swift Programming

    Swift ePub Docs

Contents


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

QuickChic Theme • Powered by WordPress