How-to QuickStart with Swift Programming on Ubuntu 16.04 Xenial 32-64bit

January 26th, 2017 by thelinuxevangelist

Swift QuickStart for Ubuntu 16.04 Xenial




Hello Ubuntu User! This Tutorial Shows You Step-by-Step How-to Install the Swift Compiler and Getting-Started with Swift Programming on Ubuntu 16.04 Xenial Xerus LTS 32/64bit 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 QuickStart for Ubuntu 16.04 Xenial - Featured
  1. Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

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

    sudo apt install clang

    If Got “User is Not in Sudoers file” then Look: Solution




  3. Download Swift Release for Ubuntu Linux

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

    Swift QuickStart for Ubuntu 16.04 Xenial - extraction
  5. Relocate the Swift stuff

    sudo mv /tmp/swift* /opt/swift
  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 QuickStart with Swift Programming

    Swift ePub Docs
(Visited 6 times, 1 visits today)
Share on Tumblr

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


Comments are disabled