Last active
November 26, 2018 08:15
-
-
Save serhii-londar/28e3995886a47c2369b81b0b1dccb106 to your computer and use it in GitHub Desktop.
Install swift 4.1 on Ubuntu 16.04 bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install clang libicu-dev libcurl4-openssl-dev lldb git wget unzip -y | |
wget https://swift.org/builds/swift-4.1-release/ubuntu1604/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu16.04.tar.gz | |
tar zxf swift-4.1*.tar.gz && rm -rf swift-4.1*.tar.gz | |
sudo mv swift-4.1* /swift-4.1 | |
echo "export PATH=/swift-4.1/usr/bin:\"\${PATH}\"" >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this work?