user1526474
user1526474

Reputation: 945

Swift "Build" not working on Ubuntu 16.04

I have recently installed swift by following the commands described on https://github.com/PerfectlySoft/PerfectDocs/blob/master/guide/gettingStarted.md

Installation seems to be OK.

swift --version is python-swiftclient 3.2.0

but when go swift build it says "no such command: build"

What am I supposed to do?

Upvotes: 0

Views: 762

Answers (1)

Eric Aya
Eric Aya

Reputation: 70113

"python-swiftclient" has nothing to do with Apple's Swift, it's a library for the OpenStack Object Storage API.

To install Apple's Swift on Ubuntu, you need to follow the instructions detailed at swift.org as told on the Perfect document you're referring: "After you have installed a Swift 3.0 toolchain from Swift.org..."

You will have to install dependencies with:

$ sudo apt-get install clang libicu-dev

then extract the .tar.gz file downloaded from swift.org and set the PATH to the executable - all of this is explained on the site.

Upvotes: 1

Related Questions