How to install libsodium on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

The Sodium crypto library

License: ISC Vendor: Fedora Project http://libsodium.org/

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
RHEL 8 Base — 1.0.18
RHEL 7 Base 1.0.18

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 AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7, 8

libsodium on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install libsodium

libsodium on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install libsodium

Package downloads require an active GetPageSpeed subscription — one repository for libsodium and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install libsodium on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the libsodium package with your system package manager.

Which Enterprise Linux versions is libsodium available for?

libsodium is available for RHEL 7, 8.

Subscribe