sudo apt update
sudo apt upgrade
sudo apt install clang libicu-dev
#Descargar la versión que necesitamos desde:
https://swift.org/download
wget https://swift.org/builds/development/ubuntu1404/swift-DEVELOPMENT-SNAPSHOT-2017-03-26-a/swift-DEVELOPMENT-SNAPSHOT-2017-03-26-a-ubuntu14.04.tar.gz
#Descomprimir
tar xzf swift-XXXXXX.tar.gz
sudo mv swift-XXXXXX /usr/local
#en bashrc
export PATH=/usr/local/swift-DEVELOPMENT-SNAPSHOT-2017-03-26-a-ubuntu14.04/usr/bin:$PATH

Anuncios