How To Install nacl on Fedora 34

nacl is Networking and Cryptography library Networking and Cryptography library

Introduction

In this tutorial we learn how to install nacl on Fedora 34.

What is nacl

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. nacl 20110221 25.fc34 x86_64 124 k nacl-20110221-25.fc34.src.rpm fedora Networking and Cryptography library http Public Domain 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.

We can use yum or dnf to install nacl on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nacl.

Install nacl on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install nacl using dnf by running the following command:

sudo dnf -y install nacl

Install nacl on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install nacl using yum by running the following command:

sudo yum -y install nacl

How To Uninstall nacl on Fedora 34

To uninstall only the nacl package we can use the following command:

sudo dnf remove nacl

nacl Package Contents on Fedora 34

/usr/bin/curvecpclient
/usr/bin/curvecpmakekey
/usr/bin/curvecpmessage
/usr/bin/curvecpprintkey
/usr/bin/curvecpserver
/usr/bin/nacl-sha256
/usr/bin/nacl-sha512
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/ff09a9e31e1ec40c44bae6d7ff882a45d245ac
/usr/lib/.build-id/17
/usr/lib/.build-id/17/b9128dd2e991e418539090b9fc9cc753e22972
/usr/lib/.build-id/25
/usr/lib/.build-id/25/f8a77b6fe1e1d352c94a2dc6981672f06bd5c2
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/7c3ad7f907abc4b04ed300dccb8db11fc61fcd
/usr/lib/.build-id/88
/usr/lib/.build-id/88/a1c7ba5903272844cc4b85de960ad3dcaa0498
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/1528b127397830ca1c988824c9b69af59f2994
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/74c284bb5a8c86ebc07e34f349303ddbc2269a
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/e9d79e53a424551b3b65cffcd934700dace8c9
/usr/lib/libnacl.so.0
/usr/lib/libnacl.so.0.0.0
/usr/share/man/man1/curvecpclient.1.gz
/usr/share/man/man1/curvecpmakekey.1.gz
/usr/share/man/man1/curvecpmessage.1.gz
/usr/share/man/man1/curvecpprintkey.1.gz
/usr/share/man/man1/curvecpserver.1.gz
/usr/share/man/man1/nacl-sha256.1.gz
/usr/share/man/man1/nacl-sha512.1.gz
/usr/bin/curvecpclient
/usr/bin/curvecpmakekey
/usr/bin/curvecpmessage
/usr/bin/curvecpprintkey
/usr/bin/curvecpserver
/usr/bin/nacl-sha256
/usr/bin/nacl-sha512
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/f7ba732d0067979ce39c8b73565da481c15eb6
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/3d3cf1ba4daf5646d1e1a852b15c7b21b8b478
/usr/lib/.build-id/48
/usr/lib/.build-id/48/cd3a45bf85c1b346f8b10ab17ecb2c5a4047e7
/usr/lib/.build-id/49
/usr/lib/.build-id/49/5fd37924798ab7914ce4aa6dd409b2a6442274
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/54f728433c0994dd55c773dbd12621039d1b4a
/usr/lib/.build-id/b6/f5d31b9de7c36160689dce980076fb33147fac
/usr/lib/.build-id/df
/usr/lib/.build-id/df/6ad31b2ad7299564d7153e26c17671afafec1d
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/b792c94f1364c25b684b9f6aa828bace533bba
/usr/lib64/libnacl.so.0
/usr/lib64/libnacl.so.0.0.0
/usr/share/man/man1/curvecpclient.1.gz
/usr/share/man/man1/curvecpmakekey.1.gz
/usr/share/man/man1/curvecpmessage.1.gz
/usr/share/man/man1/curvecpprintkey.1.gz
/usr/share/man/man1/curvecpserver.1.gz
/usr/share/man/man1/nacl-sha256.1.gz
/usr/share/man/man1/nacl-sha512.1.gz

References

Summary

In this tutorial we learn how to install nacl on Fedora 34 using yum and dnf.