How to Quick-Start With Swift Programming on Bodhi Gnu/Linux

August 26, 2019 | By the+gnu+linux+evangelist.

Setting Up

  1. Now to Install Swift for Bodhi
    First, Relocate the Swift stuff:

    sudo mv /tmp/swift* /opt/swift

    And then Set the SuperUser as Owner:

    sudo chown -R root:root /opt/swift

    Furthermore, import the GPG Key:

    wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
  2. Amending the User PATH
    Then to Set Swift binaries into the User’s Path:

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

    And to ReLoad the PATH:

    bash

QuickChic Theme • Powered by WordPress