How to install libsodium on Amazon Linux
The Sodium crypto library
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | — | ✓ | 1.0.18 |
| Amazon Linux 2012.03 | — | — | — | |
| Amazon Linux 2 | — | — | — |
Description
Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more. It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further. Its goal is to provide all of the core operations needed to build higher-level cryptographic tools. The design choices emphasize security, and "magic constants" have clear rationales. The same cannot be said of NIST curves, where the specific origins of certain constants are not described by the standards. And despite the emphasis on higher security, primitives are faster across-the-board than most implementations of the NIST standards.
Built for Amazon Linux.
Install
libsodium on Amazon Linux 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install libsodium
Package downloads require an active GetPageSpeed subscription — one repository for libsodium and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install libsodium on Amazon Linux?
Add the GetPageSpeed repository, then install the libsodium package with your system package manager.
Which Amazon Linux versions is libsodium available for?
libsodium is available for Amazon Linux 2023.