How To Install cjdns on Fedora 34

cjdns is The privacy-friendly network without borders

Introduction

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

What is cjdns

Cjdns implements an encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing. This provides near-zero-configuration networking, and prevents many of the security and scalability issues that plague existing networks.

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

Install cjdns 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 cjdns using dnf by running the following command:

sudo dnf -y install cjdns

Install cjdns 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 cjdns using yum by running the following command:

sudo yum -y install cjdns

How To Uninstall cjdns on Fedora 34

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

sudo dnf remove cjdns

cjdns Package Contents on Fedora 34

/etc/cjdns/up.d
/etc/cjdroute.conf
/usr/bin/cjdns-online
/usr/bin/makekeys
/usr/bin/publictoip6
/usr/bin/randombytes
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/002386e8dbdd10621e20e1af4e37e0f8251fb0
/usr/lib/.build-id/42
/usr/lib/.build-id/42/2d2f86e1a5454287c7223d665d54508b33a821
/usr/lib/.build-id/75
/usr/lib/.build-id/75/3268ca606523585a4ded13772c4c560a50606b
/usr/lib/.build-id/81
/usr/lib/.build-id/81/da8e7e69e8b5642d19ca5fceb6ada62eafb839
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/85efa5b42af9870d57f01ef4d9c0687cf8b81a
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/bdab862044a4e1cc8dbeac262c3f98249a07ca
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/5c7c6e62a008c67c96ddb429a69998a0503c41
/usr/lib/systemd/system/cjdns-loadmodules.service
/usr/lib/systemd/system/cjdns-resume.service
/usr/lib/systemd/system/cjdns-wait-online.service
/usr/lib/systemd/system/cjdns.service
/usr/libexec/cjdns
/usr/libexec/cjdns/cjdns-up
/usr/libexec/cjdns/makekeys
/usr/libexec/cjdns/mkpasswd
/usr/libexec/cjdns/privatetopublic
/usr/libexec/cjdns/publictoip6
/usr/libexec/cjdns/randombytes
/usr/libexec/cjdns/sybilsim
/usr/sbin/cjdroute
/usr/share/doc/cjdns
/usr/share/doc/cjdns/HACKING.md
/usr/share/doc/cjdns/README.md
/usr/share/doc/cjdns/README_DE.md
/usr/share/doc/cjdns/README_ES.md
/usr/share/doc/cjdns/README_FR.md
/usr/share/doc/cjdns/README_Fedora.md
/usr/share/doc/cjdns/README_GR.md
/usr/share/doc/cjdns/README_HR.md
/usr/share/doc/cjdns/README_PT-BR.md
/usr/share/doc/cjdns/README_RU.md
/usr/share/doc/cjdns/README_SV.md
/usr/share/doc/cjdns/README_ZHT.md
/usr/share/licenses/cjdns
/usr/share/licenses/cjdns/LICENSE
/usr/share/man/man1/cjdns-online.1.gz
/usr/share/man/man1/cjdroute.1.gz
/usr/share/man/man1/makekeys.1.gz
/usr/share/man/man1/publictoip6.1.gz
/usr/share/man/man1/randombytes.1.gz
/usr/share/man/man5/cjdroute.conf.5.gz
/usr/share/man/man8/privatetopublic.8.gz
/usr/share/man/man8/sybilsim.8.gz
/var/empty/cjdns

References

Summary

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