- 
                Notifications
    
You must be signed in to change notification settings  - Fork 89
 
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.16-msvc.zip - Extract the 
.zipfile and locate an appropriate DLL file, e.g.libsodium-1.0.16-msvc\x64\Release\v141\dynamic\libsodium.dll - Copy 
libsodium.dllintoC:\Windows\System32 
- 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