apt-get update && apt-get install -y wget
apt-get install clang libpython2.7 libxml2
# apt-get install curl
apt-get install libbsd-dev
wget https://swift.org/builds/swift-4.2.1-release/ubuntu1804/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu18.04.tar.gz
tar -zxvf swift-4.2.1-RELEASE-ubuntu18.04.tar.gz
mv swift-4.2.1-RELEASE-ubuntu18.04 /usr/local/swift
echo 'export PATH="/usr/local/swift/usr/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00