Current location - Quotes Website - Signature design - How to install Ubuntu 15.10 Server 61 System Geek
How to install Ubuntu 15.10 Server 61 System Geek

Step one: Download files

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

Step 2: Install dependencies

Use the shortcut keys Ctrl+Alt+T to open the terminal and install clang:

$ sudo apt-get install clang libicu -dev

Step 3: Import the new PGP key into the keyring of the Ubuntu system

$ gpg --keyserver hkp://pool.sks-keyservers.net \

p>

--recv-keys \

'7463 A81A 4B2E EA1B 551F FBCF D441 C977 412B 37AD' \

'1BE1 E29A 084C B305 F397 D62A 9F59 7F4D 21A5 6D5F'

Step 4: Update signature verification

First, update the key certificate:

$ gpg --keyserver hkp://pool.sks-keyservers. net --refresh-keys Swift

Secondly, verify the signature authentication:

$ gpg --verify swift--.tar.gz.sig

Note: The verification file is swift--.tar.gz.sig, which is the name of the Signature file downloaded in the first step.

A warning may appear in this step, prompting the content as shown in the picture. Just ignore this warning.

Step 5: Unzip the file

$ tar xzf swift--.tar.gz

Here-< PLATFORM> Same as previous step. After decompression, there will be an additional decompressed folder under the current folder.

Step 6: Add environment variables

$ 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 the .tar.gz file decompressed on my computer the folder path after.

Note: The environment variables added here are only applicable in the current session and need to be added again the next time you reopen the terminal.

In order not to re-add the path every time, you can modify the ~/.bashrc file $ sudo vim ~/.bashrc

Add in the last line of the file:

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

Note: If you have not installed the vim editor yet , can be installed via sudo apt-get install vim.

Start your Swift journey!

Enter $ swift in the terminal