Setting Up
-
Now to Install Swift for Bodhi
First, Relocate the Swift stuff:sudo mv /tmp/swift* /opt/swift
And then Set the SuperUser as Owner:
sudo chown -R root:root /opt/swift
Furthermore, import the GPG Key:
wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
-
Amending the User PATH
Then to Set Swift binaries into the User’s Path:echo 'export PATH=/opt/swift/usr/bin:$PATH' >> ~/.bashrc
And to ReLoad the PATH:
bash
Contents