Swift Quick-Start 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.
Open a Terminal Shell emulator window
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands)
Install the Required Package
sudo apt install clang
If Got “User is Not in Sudoers file” then Look: Solution
Download Swift Release for Ubuntu LinuxSwift Latest Release
Double-Click on Archive and Extract into /tmp
Relocate the Swift stuff
sudo mv /tmp/swift* /opt/swift
Amending the User PATH
echo 'export PATH=/opt/swift/usr/bin:$PATH' >> ~/.bashrc
ReLoad the PATH simply with:
Testing Swift Installation
In Output you should see the Swift version notice…
How-to Quick-Start with Swift ProgrammingSwift ePub Docs
Tags: gnu/linux, How-to, install swift ubuntu, ios development, ios development ubuntu, Linux, Linux Ubuntu, quickstart, quickstart swift, quickstart swift ubuntu, swift, swift programming, swift programming ubuntu, swift ubuntu, Ubuntu