Swift Programming Ubuntu 22.04 Getting Started Guide

April 16, 2024 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu 22.04 Swift Programming Get Started Guide

Hi! The Tutorial shows you Step-by-Step How to Install Swift Compiler and Getting-Started with Swift Programming in Ubuntu 22.04 Jammy LTS GNU/Linux Desktop.

And the Swift Ubuntu 22.04 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 QuickStart with Swift Programming on Ubuntu 22.04 Jammy - Featured
  1. 1. Launching Terminal

    Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands).

    How to QuickStart with Swift Programming on Ubuntu 22.04 Jammy LTS - Open Terminal Shell Emulator

    And Update Ubuntu Apt Repository:

    sudo apt update
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
  2. Then Install the Required Package
    Simply run:

    sudo apt install clang libicu-dev

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.

  3. 3. Downloading Swift

    Download Swift Release for GNU/Linux

    Grab Swift Ubuntu tar.gz Release
    If you are using Firefox then on Prompt Choose “Open with Archive Manager”:
    Firefox Prompt
    Or After try to Select the Package by the Downloads Button on Top Panel:
    Downloaded Packages
    Instead, on Google-Chrome simply try to Choose the Package on the Bottom Panel:
    Chrome Bottom Panel Downloads
    How to Install Chrome Browser on Linux
  4. 4. Extracting Swift

    Then Extract Swift into /tmp
    In case Double-Click/Right-Click to Open with Archive Manager:

    Or from Shell:

    tar xvzf ~/Downloads/swift*tar.gz -C /tmp/
    How to QuickStart with Swift Programming on Ubuntu 22.04 Jammy LTS - extraction

Contents


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

QuickChic Theme • Powered by WordPress