How To Install libsodium-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libsodium-devel
on Rocky Linux 8.
What is libsodium-devel
This package contains libraries and header files for developing applications that use libsodium libraries.
We can use yum
or dnf
to install libsodium-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsodium-devel.
Install libsodium-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libsodium-devel
using dnf
by running the following command:
sudo dnf -y install libsodium-devel
Install libsodium-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libsodium-devel
using yum
by running the following command:
sudo yum -y install libsodium-devel
How To Uninstall libsodium-devel on Rocky Linux 8
To uninstall only the libsodium-devel
package we can use the following command:
sudo dnf remove libsodium-devel
libsodium-devel Package Contents on Rocky Linux 8
/usr/include/sodium
/usr/include/sodium.h
/usr/include/sodium/core.h
/usr/include/sodium/crypto_aead_aes256gcm.h
/usr/include/sodium/crypto_aead_chacha20poly1305.h
/usr/include/sodium/crypto_aead_xchacha20poly1305.h
/usr/include/sodium/crypto_auth.h
/usr/include/sodium/crypto_auth_hmacsha256.h
/usr/include/sodium/crypto_auth_hmacsha512.h
/usr/include/sodium/crypto_auth_hmacsha512256.h
/usr/include/sodium/crypto_box.h
/usr/include/sodium/crypto_box_curve25519xchacha20poly1305.h
/usr/include/sodium/crypto_box_curve25519xsalsa20poly1305.h
/usr/include/sodium/crypto_core_ed25519.h
/usr/include/sodium/crypto_core_hchacha20.h
/usr/include/sodium/crypto_core_hsalsa20.h
/usr/include/sodium/crypto_core_ristretto255.h
/usr/include/sodium/crypto_core_salsa20.h
/usr/include/sodium/crypto_core_salsa2012.h
/usr/include/sodium/crypto_core_salsa208.h
/usr/include/sodium/crypto_generichash.h
/usr/include/sodium/crypto_generichash_blake2b.h
/usr/include/sodium/crypto_hash.h
/usr/include/sodium/crypto_hash_sha256.h
/usr/include/sodium/crypto_hash_sha512.h
/usr/include/sodium/crypto_kdf.h
/usr/include/sodium/crypto_kdf_blake2b.h
/usr/include/sodium/crypto_kx.h
/usr/include/sodium/crypto_onetimeauth.h
/usr/include/sodium/crypto_onetimeauth_poly1305.h
/usr/include/sodium/crypto_pwhash.h
/usr/include/sodium/crypto_pwhash_argon2i.h
/usr/include/sodium/crypto_pwhash_argon2id.h
/usr/include/sodium/crypto_pwhash_scryptsalsa208sha256.h
/usr/include/sodium/crypto_scalarmult.h
/usr/include/sodium/crypto_scalarmult_curve25519.h
/usr/include/sodium/crypto_scalarmult_ed25519.h
/usr/include/sodium/crypto_scalarmult_ristretto255.h
/usr/include/sodium/crypto_secretbox.h
/usr/include/sodium/crypto_secretbox_xchacha20poly1305.h
/usr/include/sodium/crypto_secretbox_xsalsa20poly1305.h
/usr/include/sodium/crypto_secretstream_xchacha20poly1305.h
/usr/include/sodium/crypto_shorthash.h
/usr/include/sodium/crypto_shorthash_siphash24.h
/usr/include/sodium/crypto_sign.h
/usr/include/sodium/crypto_sign_ed25519.h
/usr/include/sodium/crypto_sign_edwards25519sha512batch.h
/usr/include/sodium/crypto_stream.h
/usr/include/sodium/crypto_stream_chacha20.h
/usr/include/sodium/crypto_stream_salsa20.h
/usr/include/sodium/crypto_stream_salsa2012.h
/usr/include/sodium/crypto_stream_salsa208.h
/usr/include/sodium/crypto_stream_xchacha20.h
/usr/include/sodium/crypto_stream_xsalsa20.h
/usr/include/sodium/crypto_verify_16.h
/usr/include/sodium/crypto_verify_32.h
/usr/include/sodium/crypto_verify_64.h
/usr/include/sodium/export.h
/usr/include/sodium/randombytes.h
/usr/include/sodium/randombytes_internal_random.h
/usr/include/sodium/randombytes_sysrandom.h
/usr/include/sodium/runtime.h
/usr/include/sodium/utils.h
/usr/include/sodium/version.h
/usr/lib64/libsodium.so
/usr/lib64/pkgconfig/libsodium.pc
/usr/share/doc/libsodium-devel
/usr/share/doc/libsodium-devel/AUTHORS
/usr/share/doc/libsodium-devel/ChangeLog
/usr/share/doc/libsodium-devel/README.markdown
/usr/share/doc/libsodium-devel/THANKS
/usr/share/doc/libsodium-devel/aead_aes256gcm.c
/usr/share/doc/libsodium-devel/aead_aes256gcm.exp
/usr/share/doc/libsodium-devel/aead_aes256gcm2.c
/usr/share/doc/libsodium-devel/aead_aes256gcm2.exp
/usr/share/doc/libsodium-devel/aead_chacha20poly1305.c
/usr/share/doc/libsodium-devel/aead_chacha20poly1305.exp
/usr/share/doc/libsodium-devel/aead_chacha20poly13052.c
/usr/share/doc/libsodium-devel/aead_chacha20poly13052.exp
/usr/share/doc/libsodium-devel/aead_xchacha20poly1305.c
/usr/share/doc/libsodium-devel/aead_xchacha20poly1305.exp
/usr/share/doc/libsodium-devel/auth.c
/usr/share/doc/libsodium-devel/auth.exp
/usr/share/doc/libsodium-devel/auth2.c
/usr/share/doc/libsodium-devel/auth2.exp
/usr/share/doc/libsodium-devel/auth3.c
/usr/share/doc/libsodium-devel/auth3.exp
/usr/share/doc/libsodium-devel/auth5.c
/usr/share/doc/libsodium-devel/auth5.exp
/usr/share/doc/libsodium-devel/auth6.c
/usr/share/doc/libsodium-devel/auth6.exp
/usr/share/doc/libsodium-devel/auth7.c
/usr/share/doc/libsodium-devel/auth7.exp
/usr/share/doc/libsodium-devel/box.c
/usr/share/doc/libsodium-devel/box.exp
/usr/share/doc/libsodium-devel/box2.c
/usr/share/doc/libsodium-devel/box2.exp
/usr/share/doc/libsodium-devel/box7.c
/usr/share/doc/libsodium-devel/box7.exp
/usr/share/doc/libsodium-devel/box8.c
/usr/share/doc/libsodium-devel/box8.exp
/usr/share/doc/libsodium-devel/box_easy.c
/usr/share/doc/libsodium-devel/box_easy.exp
/usr/share/doc/libsodium-devel/box_easy2.c
/usr/share/doc/libsodium-devel/box_easy2.exp
/usr/share/doc/libsodium-devel/box_seal.c
/usr/share/doc/libsodium-devel/box_seal.exp
/usr/share/doc/libsodium-devel/box_seed.c
/usr/share/doc/libsodium-devel/box_seed.exp
/usr/share/doc/libsodium-devel/chacha20.c
/usr/share/doc/libsodium-devel/chacha20.exp
/usr/share/doc/libsodium-devel/cmptest.h
/usr/share/doc/libsodium-devel/codecs.c
/usr/share/doc/libsodium-devel/codecs.exp
/usr/share/doc/libsodium-devel/core1.c
/usr/share/doc/libsodium-devel/core1.exp
/usr/share/doc/libsodium-devel/core2.c
/usr/share/doc/libsodium-devel/core2.exp
/usr/share/doc/libsodium-devel/core3.c
/usr/share/doc/libsodium-devel/core3.exp
/usr/share/doc/libsodium-devel/core4.c
/usr/share/doc/libsodium-devel/core4.exp
/usr/share/doc/libsodium-devel/core5.c
/usr/share/doc/libsodium-devel/core5.exp
/usr/share/doc/libsodium-devel/core6.c
/usr/share/doc/libsodium-devel/core6.exp
/usr/share/doc/libsodium-devel/core_ed25519.c
/usr/share/doc/libsodium-devel/core_ed25519.exp
/usr/share/doc/libsodium-devel/core_ristretto255.c
/usr/share/doc/libsodium-devel/core_ristretto255.exp
/usr/share/doc/libsodium-devel/ed25519_convert.c
/usr/share/doc/libsodium-devel/ed25519_convert.exp
/usr/share/doc/libsodium-devel/generichash.c
/usr/share/doc/libsodium-devel/generichash.exp
/usr/share/doc/libsodium-devel/generichash2.c
/usr/share/doc/libsodium-devel/generichash2.exp
/usr/share/doc/libsodium-devel/generichash3.c
/usr/share/doc/libsodium-devel/generichash3.exp
/usr/share/doc/libsodium-devel/hash.c
/usr/share/doc/libsodium-devel/hash.exp
/usr/share/doc/libsodium-devel/hash2.exp
/usr/share/doc/libsodium-devel/hash3.c
/usr/share/doc/libsodium-devel/hash3.exp
/usr/share/doc/libsodium-devel/kdf.c
/usr/share/doc/libsodium-devel/kdf.exp
/usr/share/doc/libsodium-devel/keygen.c
/usr/share/doc/libsodium-devel/keygen.exp
/usr/share/doc/libsodium-devel/kx.c
/usr/share/doc/libsodium-devel/kx.exp
/usr/share/doc/libsodium-devel/metamorphic.c
/usr/share/doc/libsodium-devel/metamorphic.exp
/usr/share/doc/libsodium-devel/misuse.c
/usr/share/doc/libsodium-devel/misuse.exp
/usr/share/doc/libsodium-devel/onetimeauth.c
/usr/share/doc/libsodium-devel/onetimeauth.exp
/usr/share/doc/libsodium-devel/onetimeauth2.c
/usr/share/doc/libsodium-devel/onetimeauth2.exp
/usr/share/doc/libsodium-devel/onetimeauth7.c
/usr/share/doc/libsodium-devel/onetimeauth7.exp
/usr/share/doc/libsodium-devel/pwhash_argon2i.c
/usr/share/doc/libsodium-devel/pwhash_argon2i.exp
/usr/share/doc/libsodium-devel/pwhash_argon2id.c
/usr/share/doc/libsodium-devel/pwhash_argon2id.exp
/usr/share/doc/libsodium-devel/pwhash_scrypt.c
/usr/share/doc/libsodium-devel/pwhash_scrypt.exp
/usr/share/doc/libsodium-devel/pwhash_scrypt_ll.c
/usr/share/doc/libsodium-devel/pwhash_scrypt_ll.exp
/usr/share/doc/libsodium-devel/quirks.h
/usr/share/doc/libsodium-devel/randombytes.c
/usr/share/doc/libsodium-devel/randombytes.exp
/usr/share/doc/libsodium-devel/scalarmult.c
/usr/share/doc/libsodium-devel/scalarmult.exp
/usr/share/doc/libsodium-devel/scalarmult2.c
/usr/share/doc/libsodium-devel/scalarmult2.exp
/usr/share/doc/libsodium-devel/scalarmult5.c
/usr/share/doc/libsodium-devel/scalarmult5.exp
/usr/share/doc/libsodium-devel/scalarmult6.c
/usr/share/doc/libsodium-devel/scalarmult6.exp
/usr/share/doc/libsodium-devel/scalarmult7.c
/usr/share/doc/libsodium-devel/scalarmult7.exp
/usr/share/doc/libsodium-devel/scalarmult8.c
/usr/share/doc/libsodium-devel/scalarmult8.exp
/usr/share/doc/libsodium-devel/scalarmult_ed25519.c
/usr/share/doc/libsodium-devel/scalarmult_ed25519.exp
/usr/share/doc/libsodium-devel/scalarmult_ristretto255.c
/usr/share/doc/libsodium-devel/scalarmult_ristretto255.exp
/usr/share/doc/libsodium-devel/secretbox.c
/usr/share/doc/libsodium-devel/secretbox.exp
/usr/share/doc/libsodium-devel/secretbox2.c
/usr/share/doc/libsodium-devel/secretbox2.exp
/usr/share/doc/libsodium-devel/secretbox7.c
/usr/share/doc/libsodium-devel/secretbox7.exp
/usr/share/doc/libsodium-devel/secretbox8.c
/usr/share/doc/libsodium-devel/secretbox8.exp
/usr/share/doc/libsodium-devel/secretbox_easy.c
/usr/share/doc/libsodium-devel/secretbox_easy.exp
/usr/share/doc/libsodium-devel/secretbox_easy2.c
/usr/share/doc/libsodium-devel/secretbox_easy2.exp
/usr/share/doc/libsodium-devel/secretstream.c
/usr/share/doc/libsodium-devel/secretstream.exp
/usr/share/doc/libsodium-devel/shorthash.c
/usr/share/doc/libsodium-devel/shorthash.exp
/usr/share/doc/libsodium-devel/sign.c
/usr/share/doc/libsodium-devel/sign.exp
/usr/share/doc/libsodium-devel/siphashx24.c
/usr/share/doc/libsodium-devel/siphashx24.exp
/usr/share/doc/libsodium-devel/sodium_core.c
/usr/share/doc/libsodium-devel/sodium_core.exp
/usr/share/doc/libsodium-devel/sodium_utils.c
/usr/share/doc/libsodium-devel/sodium_utils.exp
/usr/share/doc/libsodium-devel/sodium_utils2.c
/usr/share/doc/libsodium-devel/sodium_utils2.exp
/usr/share/doc/libsodium-devel/sodium_utils3.c
/usr/share/doc/libsodium-devel/sodium_utils3.exp
/usr/share/doc/libsodium-devel/sodium_version.c
/usr/share/doc/libsodium-devel/sodium_version.exp
/usr/share/doc/libsodium-devel/stream.c
/usr/share/doc/libsodium-devel/stream.exp
/usr/share/doc/libsodium-devel/stream2.c
/usr/share/doc/libsodium-devel/stream2.exp
/usr/share/doc/libsodium-devel/stream3.c
/usr/share/doc/libsodium-devel/stream3.exp
/usr/share/doc/libsodium-devel/stream4.c
/usr/share/doc/libsodium-devel/stream4.exp
/usr/share/doc/libsodium-devel/verify1.c
/usr/share/doc/libsodium-devel/verify1.exp
/usr/share/doc/libsodium-devel/xchacha20.c
/usr/share/doc/libsodium-devel/xchacha20.exp
References
Summary
In this tutorial we learn how to install libsodium-devel
on Rocky Linux 8 using yum and dnf.