How to Quick-Start With Swift Programming on Ubuntu 16.04 Xenial 32-64bit

January 26, 2017 | By the+gnu+linux+evangelist.

Swift Quick Start for Ubuntu 16.04 Xenial

Hi! The Tutorial shows you Step-by-Step How to Install Swift Compiler and Getting-Started with Swift Programming on Ubuntu 16.04 Xenial Xerus LTS GNU/Linux.

Swift is a Programming Language for iOS, macOS, watchOS, and tvOS apps that builds on the best of C and Objective-C, without the constraints of C compatibility.

Swift‘s Clean Slate, Backed by the mature and much-loved Cocoa and Cocoa Touch Frameworks, is an opportunity to Reimagine how Software Development works.

The Swift compiler is principally responsible for translating Swift source code into efficient, executable machine code.

However, the Swift compiler Front-End also Supports a number of other Tools, including IDE integration with Syntax Coloring, Code Completion, and other conveniences.

Swift Quick Start for Ubuntu 16.04 Xenial - Featured
  1. Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Swift Quick Start for Ubuntu 16.04 Xenial - Open Terminal Shell Emulator
  2. Install the Required Package.

    sudo apt install clang libicu-dev

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  3. Download Swift Release for Ubuntu

    Grab Swift Ubuntu Release
  4. Double-Click on Archive and Extract into /tmp.

    Or from Shell:

    tar xvzf ~/Downloads/swift*tar.gz -C /tmp/
    Swift Quick Start for Ubuntu 16.04 Xenial - extraction
  5. Relocate the Swift stuff.

    sudo mv /tmp/swift* /opt/swift

    And then Set the SuperUser as Owner:

    chown -R root:root /opt/swift

    Furthermore, import the GPG Key:

    wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
  6. Amending the User PATH.

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

    ReLoad the PATH simply with:

    bash
  7. Testing Swift Installation.

    swift --version

    In Output you should see the Swift version notice…

  8. How to Quick Start with Swift Programming

    Swift ePub Docs

QuickChic Theme • Powered by WordPress