How To Install cjdns-tools on CentOS 8

cjdns-tools is Nodejs tools for cjdns

Introduction

In this tutorial we learn how to install cjdns-tools on CentOS 8.

What is cjdns-tools

Nodejs tools for cjdns. Highlights peerStats show current peer status cjdnslog display cjdroute log cjdns-traceroute trace route to cjdns IP sessionStats show current crypto sessions

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

Install cjdns-tools on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install cjdns-tools

Install cjdns-tools on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install cjdns-tools using yum by running the following command:

sudo yum -y install cjdns-tools

How To Uninstall cjdns-tools on CentOS 8

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

sudo dnf remove cjdns-tools

cjdns-tools Package Contents on CentOS 8

/usr/bin/cjdns-traceroute
/usr/bin/cjdnslog
/usr/bin/dumpLinks
/usr/bin/dumpRumorMill
/usr/bin/dumptable
/usr/bin/pathfinderTree
/usr/bin/peerStats
/usr/bin/pingAll
/usr/bin/search
/usr/bin/sessionStats
/usr/libexec/cjdns/node_build
/usr/libexec/cjdns/node_modules
/usr/libexec/cjdns/node_modules/nthen
/usr/libexec/cjdns/node_modules/nthen/index.js
/usr/libexec/cjdns/node_modules/nthen/package.json
/usr/libexec/cjdns/node_modules/nthen/readme.md
/usr/libexec/cjdns/node_modules/nthen/test
/usr/libexec/cjdns/node_modules/nthen/test/nthen_test.js
/usr/libexec/cjdns/node_modules/saferphore
/usr/libexec/cjdns/node_modules/saferphore/.flowconfig
/usr/libexec/cjdns/node_modules/saferphore/.jshintignore
/usr/libexec/cjdns/node_modules/saferphore/.jshintrc
/usr/libexec/cjdns/node_modules/saferphore/.travis.yml
/usr/libexec/cjdns/node_modules/saferphore/index.js
/usr/libexec/cjdns/node_modules/saferphore/package.json
/usr/libexec/cjdns/node_modules/saferphore/readme.md
/usr/libexec/cjdns/node_modules/saferphore/test.js
/usr/libexec/cjdns/tools
/usr/libexec/cjdns/tools/cexec
/usr/libexec/cjdns/tools/cjdnslog
/usr/libexec/cjdns/tools/cjdnsshell
/usr/libexec/cjdns/tools/dumpLinks
/usr/libexec/cjdns/tools/dumpRumorMill
/usr/libexec/cjdns/tools/dumptable
/usr/libexec/cjdns/tools/lib
/usr/libexec/cjdns/tools/lib/Semaphore.js
/usr/libexec/cjdns/tools/lib/cjdnsadmin
/usr/libexec/cjdns/tools/lib/cjdnsadmin/bencode.js
/usr/libexec/cjdns/tools/lib/cjdnsadmin/cjdnsadmin.js
/usr/libexec/cjdns/tools/lib/makesim.js
/usr/libexec/cjdns/tools/lib/publicToIp6.js
/usr/libexec/cjdns/tools/pathfinderTree
/usr/libexec/cjdns/tools/peerStats
/usr/libexec/cjdns/tools/ping
/usr/libexec/cjdns/tools/pingAll
/usr/libexec/cjdns/tools/search
/usr/libexec/cjdns/tools/sessionStats
/usr/libexec/cjdns/tools/splice
/usr/libexec/cjdns/tools/traceroute
/usr/libexec/cjdns/tools/traceroute.tools
/usr/share/man/man1/cjdns-traceroute.1.gz
/usr/share/man/man1/cjdnslog.1.gz
/usr/share/man/man1/peerStats.1.gz
/usr/share/man/man1/sessionStats.1.gz

References

Summary

In this tutorial we learn how to install cjdns-tools on CentOS 8 using yum and dnf.