Skip to main content


Showing posts from September, 2016

Installing swift on ubuntu 16.04 LTS from source

Swift is new shiny programming language from apple and it's going to replace objective-C gradually. Swift has been open sourced last year and beside macOS you can install it on ubuntu desktop's.

I am going to show how to install swift from development branch source code on ubuntu 16.04 LTS.

For doing so open your terminal and install the following dependencies running the following command:

sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev libcurl4-openssl-devAfter installing the dependencies successfully installing the dependencieswe need to clone the source code inside a specific directory for locating other swift sub-module directories.So lets create a directory name swift-build. Run the commands onterminal:mkdir swift-buildcd swift-buildnow clone the git repository inside this repogit clone…