How To Install cjdns on Rocky Linux 8

In this tutorial we learn how to install cjdns on Rocky Linux 8. cjdns is The privacy-friendly network without borders

Introduction

In this tutorial we learn how to install cjdns on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cjdns.

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

sudo dnf -y install cjdns

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

sudo yum -y install cjdns

How To Uninstall cjdns on Rocky Linux 8

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

sudo dnf remove cjdns

cjdns Package Contents on Rocky Linux 8

/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/a2
/usr/lib/.build-id/a2/bc76ec3fbe910e518059b8d01a7daafa00cb9d
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/f26cb2474fe0d67f5fdced445d66e8b57ce1dc
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/7069fb8496d67be59bec08bc5373f8e87802aa
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/31f4d9cee0477998a8433c7802a29f83a56ed9
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/09f3e462ff824cb9744bd2b224918837451a4c
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/ae4885d9ba1f8c01ca5a48af1800fce5182f2b
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/243e9353d6d931981f495488240534cf373f1d
/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 Rocky Linux 8 using yum and dnf.