Swift Programming Fedora 28 - Setting Up
-
Relocate the Swift stuff.
sudo mv /tmp/swift* /opt/swift
And then Set the SuperUser as Owner:
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.
echo 'export PATH=/opt/swift/usr/bin:$PATH' >> ~/.bashrc
ReLoad the PATH simply with:
bash
Contents