Skip to content

Commit

Permalink
Don't reference libsodium
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Jun 20, 2021
1 parent 7fb73b9 commit c562560
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
5 changes: 0 additions & 5 deletions Sources/CLibSodium/module.modulemap

This file was deleted.

1 change: 0 additions & 1 deletion Sources/CLibSodium/shim.h

This file was deleted.

20 changes: 3 additions & 17 deletions docs/Getting Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,15 @@ Getting Started
## Installing dependencies

### macOS
On macOS this package depends on libsodium to provide certain crypto algorithms. Install it using homebrew:
```
brew install libsodium
```
No dependencies needed, besides the packages SwiftPM will download.

### Linux
On Debian based Linux distributions you need a few packages. Install them using apt:
```
sudo apt install openssl libssl-dev libsodium-dev libcurl4-openssl-dev libavahi-compat-libdnssd-dev
```

If your package manager doesn't provide libsodium 1.0.9 or higher, install it from source:
```
wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.12.tar.gz
tar xzf libsodium-1.0.12.tar.gz
cd libsodium-1.0.12
./configure
make && make check
sudo make install
sudo ldconfig
sudo apt install openssl libssl-dev libcurl4-openssl-dev libavahi-compat-libdnssd-dev
```

### Linux ARM / Raspberry Pi (Raspbian Stretch)
#### Linux ARM / Raspberry Pi (Raspbian Stretch)
There are currently no official binaries from swift.org targetting ARM / Raspbian, however there's an active community working on Swift on ARM. You can [install binaries from their repository][1]:

```
Expand Down

0 comments on commit c562560

Please sign in to comment.