-
Notifications
You must be signed in to change notification settings - Fork 85
Installing libsodium
Andrew Kane edited this page Jul 3, 2019
·
6 revisions
RbNaCl is an FFI wrapper for libsodium, a portable repackaging of NaCl. You will need libsodium installed or RbNaCl will not work.
This page contains information on how to install libsodium on various platforms.
- Visit https://download.libsodium.org/libsodium/releases/
- Downloaded latest pre-built binary e.g.
libsodium-1.0.18-msvc.zip
- Extract the
.zip
file and locate an appropriate DLL file, e.g.libsodium-1.0.18-msvc\libsodium\x64\Release\v142\dynamic\libsodium.dll
- Copy
libsodium.dll
toC:\Windows\System32\sodium.dll
- Install Homebrew
- Run
brew install libsodium
You will either need to compile libsodium from source or install an appropriate package for your distribution:
- Enable EPEL
- Run
yum install libsodium
NOTE: packages for other Debian releases are available
apt-get install libsodium18
apt-get install libsodium18
apt-get install libsodium23