nncp-exec command not found

In this troubleshooting guide we learn how to fix nncp-exec command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nncp-exec: command not found

or when using sudo you get the following error message

sudo: nncp-exec: command not found

Solutions to nncp-exec: command not found

How To Fix nncp-exec: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nncp-exec is provided by nncp package.

nncp is:

NNCP is a package facilitating secure store-and-forward file and mail exchange. It can be thought of as a modern UUCP with Internet smarts.

NNCP supports direct online communication over a LAN or Internet, scheduled communication, offline copies, streaming communication (pipes), and more. It can therefore be used for air-gapped computers that might be communicated with by CD-ROM, tape, or USB stick. It can also be used for intermittent or on-demand links, very slow or high latency links, etc.

NNCP can build up ad-hoc friend-to-friend (F2F) statically routed, darknet, delay-tolerant networks for fire-and-forget secure reliable files, file requests, Internet mail and commands transmission. All packets are integrity checked, end-to-end encrypted, explicitly authenticated by known participants public keys. Onion encryption is applied to relayed packets. Each node acts both as a client and server, can use push and poll behaviour model. Also there is multicasting areas support.

Out-of-box offline sneakernet/floppynet, dead drops, sequential and append-only CD-ROM/tape storages, air-gapped computers support. But online TCP daemon with full-duplex resumable data transmission exists.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nncp

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nncp.

sudo apt -y install nncp

Or if you have aptitude installed you can use the following command.

sudo aptitude install nncp

Summary

In this tutorial we learn how to fix nncp-exec command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.