$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Swift Programming openSUSE Getting Started Guide

August 26, 2019 | By the+gnu+linux+evangelist.

Installing

  1. 3. Downloading Swift

    Download Swift Release for GNU/Linux

    Grab Swift openSUSE tar.gz Release

    Grab the CentOS or Ubuntu 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 openSUSE

  2. 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 Linux openSUSE - extraction

    (But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.)

  3. 5. Installing Swift

    Next to Install Swift Platform
    Relocate the Swift stuff with:

    sudo mv /tmp/swift* /opt/swift

    Again Set the SuperUser as Owner:

    chown -R root:root /opt/swift

    And finally, import the GPG Key:

    wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
  4. 6. Setting Up PATH

    Now Amend the User PATH
    Edit the Bash Configuration File to Append the Binaries into the Working Environment:

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

    ReLoad the PATH simply with:

    bash

Contents


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