![如何在 Ubuntu 18.10 中设置 swift?](https://linux22.com/image/142135/%E5%A6%82%E4%BD%95%E5%9C%A8%20Ubuntu%2018.10%20%E4%B8%AD%E8%AE%BE%E7%BD%AE%20swift%EF%BC%9F.png)
我喜欢尝试将 swift 与 Eclipse + Tifig 结合起来。我尝试了几种方法:
折断:
snap install swift
swift 4.0.3 from luis.nando (lf-araujo) installed
swift
/snap/swift/5/bin/swift: error while loading shared libraries: libatomic.so.1: wrong ELF class: ELFCLASS32
看来我的 64 位系统 swift 的依赖关系已损坏。
uname -a
Linux lappi 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
使用 apt-get 也失败:
sudo apt-get install swift
swift
bash: /snap/bin/swift: No such file or directory
有任何想法吗?
答案1
尝试这个:
sudo apt install ubuntu-make
umake swift