Swift Quick Start for Ubuntu 16.04 Xenial
You are Welcome! The 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 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 libicu-dev
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Download Swift Release for Ubuntu LinuxGrab Swift Ubuntu Release
Double-Click on Archive and Extract into /tmp.
Or from Shell:
tar xvzf ~/Downloads/swift*tar.gz -C /tmp/
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 -
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