How to Quick-Start With Swift Programming on Fedora 26 Gnu/Linux

July 3, 2018 | By the+gnu+linux+evangelist.

Swift Programming Quick Start for Fedora 26

Hi! The Tutorial shows you Step-by-Step How to Install Swift Compiler and Getting-Started with Swift Programming on Fedora 26 GNU/Linux.

And the Swift Fedora 26 Release includes: Compiler, Lldb, and related Tools.

Moreover, 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.

Then 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.

Again, 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.

How to Quick Start with Swift Programming on Fedora 26 - Featured
  1. Open a Shell Session
    (Press “Enter” to Execute Commands)

    How to Quick Start with Swift Programming on Fedora 26 - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Install the Required Package.

    sudo dnf install clang libicu-devel

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

  3. Download Swift Release for GNU/Linux

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

    Or from Shell:

    tar xvzf ~/Downloads/swift*tar.gz -C /tmp/
    How to Quick Start with Swift Programming on Fedora 26 - 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