Swift Programming Quick Start for CentOS 8
Hi! The Tutorial shows you Step-by-Step How to Install Swift Compiler and Getting-Started with Swift Programming on CentOS 8.x/Stream-8 GNU/Linux.
And the Swift CentOS 8.x/Stream-8 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.
1. Launching Terminal
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)2. Installing Dependencies
Install the Required Package.
sudo yum install clang libicu-devel
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.3. Downloading Swift Compiler
Download Swift Release for CentOS
4. Extracting Swift Compiler
Double-Click on Archive and Extract into /tmp.
Or from Shell:
tar xvzf ~/Downloads/swift*tar.gz -C /tmp/
Contents