Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu 15.10 installation and deployment Swift development environment     - RedHat Linux source code package installation process (Linux)

- Deb package installation method under ubuntu (Linux)

- Linux find command detailing (Linux)

- Repair Maven project developed default Maven Plugin folder (Linux)

- Update GAMIT10.6 command (Linux)

- Copy Recovery using RMAN repository development environment (Database)

- Linux platform host to prevent hacking skills (Linux)

- Python Dir find a folder several files (Programming)

- Java Learning: elegant string (Programming)

- How to Install Linux kernel 4.0 on Ubuntu / CentOS (Linux)

- Linux environment variable configuration (Linux)

- Oracle 11g through SCN do incremental backup repair standby library detailed process (Database)

- Android in the event delivery and handling mechanism (Programming)

- Python object-oriented programming (Programming)

- Linux System Getting Started Learning: Disable HTTP forwarding wget in (Linux)

- Security Knowledge: How to hide a backdoor PHP file tips (Linux)

- C language preprocessor command (Programming)

- Three kinds of binary tree traversal recursive and iterative solution (Programming)

- Linux environment to configure Apache + Django + wsgi (Server)

- Git bulk delete remote tag (Linux)

  Ubuntu 15.10 installation and deployment Swift development environment
  Add Date : 2018-11-21      
  Apple recently open sourced Swift programming language, which means that anyone will be able to use the Swift programming language on any system. Now, Apple is first brought to the Ubuntu platform Swift, here I'll show you how to install Ubuntu deployment Swift.

What is Swift?

Swift Apple's latest programming language, its purpose is to replace the Objective-C language to build a major Mac OS X and iOS applications. Swift is very simple to learn, but also with other popular programming languages have similar syntax, easy to use.

However, Swift language applies only to Apple devices, the development of the program will not run on Windows, Linux or other systems. With Swift growing popularity, more and more developers are hoping that Apple will open Swift, at least let it be able to support more platforms. Apple is also rare to hear the voice of the majority of developers will eventually Swift was open. Not as good as from a commercial point of view, Apple will Swift Open source is a very good move, it can at least facilitate more developers to create Mac OS X and iOS applications.

If you are interested in learning Swift programming language that can be installed at any time on Linux. Apple currently only released for Ubuntu 14.04 and Ubuntu 15.10 installer, I believe Apple will soon update other platforms and Linux platforms Universal Installer.

Official References: Swift installation tutorial

Step One: Download file

Download Ubuntu 15.10 Swift 2.2 Snapshot and Signature files, download files include swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10.tar.gz .sig and the corresponding file.

Step 2: Install Dependency
Use the keyboard shortcut Ctrl + Alt + T to open the terminal, installation clang:

$ Sudo apt-get install clang libicu-dev
The third step: keyring Ubuntu system to import new PGP secret key

$ Gpg --keyserver hkp: //pool.sks-keyservers.net \
      --recv-keys \
      '7463 A81A 4B2E EA1B 551F FBCF D441 C977 412B 37AD' \
      '1BE1 E29A 084C B305 F397 D62A 9F59 7F4D 21A5 6D5F'

$ Wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
Step four: Update signature verification

First, update the secret key certificate:

$ Gpg --keyserver hkp: //pool.sks-keyservers.net --refresh-keys Swift
Secondly, to verify the signature certification:

$ Gpg --verify swift- < VERSION> - < PLATFORM> .tar.gz.sig
Note: Verify that the file is swift- < VERSION> - < PLATFORM> .tar.gz.sig, Signature is the first step in the file name to download.

This step may appear warning that the content shown in FIG warning without pipe line.

Step Five: Unzip the file

$ Tar xzf swift- < VERSION> - < PLATFORM> .tar.gz
Where < VERSION> - < PLATFORM> consistent with the previous step. After unpacking, it will be more after extracting a file folder in the current folder.

Step Six: Add the environment variable

$ Export PATH = ~ / Documents /swift/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10/usr/bin:${PATH}
The "~ / Documents /swift/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10" is my computer files after extracting .tar.gz file folder path.

Note: This add environment variables that apply only in the current session, after the next re-open the terminal needs to re-add.

To re-add not every path, you can modify ~ / .bashrc file $ sudo vim ~ / .bashrc

In the last line add:

export PATH = ~ / Documents /swift/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu15.10/usr/bin:${PATH}

NOTE: If you have not installed the vim editor, you can sudo apt-get install vim installed.

Swift began to journey!

In the terminal input $ swift
- Linux Command - ps: a snapshot of the current process (Linux)
- Bash difference in single quotes and double quotes (Programming)
- Ubuntu clean up unnecessary disk space usage (Linux)
- Oracle query start with connect by tree (Database)
- Linux-- sub-volume compression and decompression (Linux)
- Error code: 2013 Lost connection to MySQL server during query (Database)
- Analysis of Java in the deep copy and shallow copy (Programming)
- ThinkPad X201i installation notes Debian 7.5 (Linux)
- Recover accidentally deleted Nginx logs (Server)
- Justniffer installed on Ubuntu 15.04 (Linux)
- Help you make Git Bisect (Linux)
- Oracle 11g users to create, authorize and import dmp file (Database)
- Hadoop upload files error solved (Server)
- Virtualization and IT cooperation (Linux)
- Vim useful plugin: EasyGrep (Linux)
- Make full use of the Raspberry Pi SD card space (Linux)
- Oracle 11g RAC automatically play GI PSU patch ( (Database)
- 20 Top Linux commands (Linux)
- Linux file compression and file system packaged with instructions (Linux)
- CentOS / Linux install VNC Server (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.