How to Quick-Start with Swift Programming on Fedora 27 GNU/Linux

July 3, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Swift Programming Quick Start for Fedora 27

You are Welcome! The Tutorial Shows You Step-by-Step How to Install the Swift Compiler and Getting-Started with Swift Programming on Fedora 27 32/64-bit GNU/Linux.

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

Furthermore, 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 27 - Featured
  1. Open a Shell Session
    (Press “Enter” to Execute Commands)

    How to Quick Start with Swift Programming on Fedora 27 - Open Terminal
  2. Install the Required Package

    sudo dnf install clang libcu-devel

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

  3. Download Swift Release for Fedora 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 27 - 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 - | sudo gpg --import -
  6. Amending the User PATH

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

    ReLoad the PATH simply with:

  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

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

QuickChic Theme • Powered by WordPress