Install this package:
emerge -a dev-libs/libsodium
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-libs/libsodium
Or alternatively:
emerge --autounmask-write -a dev-libs/libsodium
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0.22 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos | 0/26 |
| 1.0.21_p20260122 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos | 0/26 |
<pkgmetadata> <maintainer type="person"> <email>sam@gentoo.org</email> <name>Sam James</name> </maintainer> <longdescription> NaCl (pronounced "salt") is a new easy-to-use high-speed software library for network communication, encryption, decryption, signatures, etc. NaCl's goal is to provide all of the core operations needed to build higher-level cryptographic tools. Sodium is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API. </longdescription> <use> <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> </use> <upstream> <remote-id type="github">jedisct1/libsodium</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-libs/libsodium |
euse -E <flag> -p dev-libs/libsodium |
euse -D <flag> -p dev-libs/libsodium
| Flag | Description | 1.0.22 | 1.0.21_p20260122 |
|---|---|---|---|
| ${CPU_USE[@]} | ⚠️ | ✓ | ✓ |
| asm | Enable using assembly for optimization | ⊕ | ⊕ |
| static-libs | Build static versions of dynamic libraries as well | ✓ | ✓ |
| urandom | Use /dev/urandom instead of /dev/random | ⊕ | ⊕ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | libsodium-1.0.21_p20260122.tar.gz | 2049837 bytes | 1.0.21_p20260122 |
| DIST | libsodium-1.0.21_p20260122.tar.gz.minisig | 318 bytes | 1.0.21_p20260122 |
| DIST | libsodium-1.0.22.tar.gz | 2008529 bytes | 1.0.22 |
| DIST | libsodium-1.0.22.tar.gz.minisig | 318 bytes | 1.0.22 |
| Type | File | Size |
|---|