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

August 26, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Setting Up

  1. Now to Install Swift for MX
    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

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

QuickChic Theme • Powered by WordPress