nbd-trdump command not found

In this troubleshooting guide we learn how to fix nbd-trdump command not found error message

Introduction

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

nbd-trdump: command not found

or when using sudo you get the following error message

sudo: nbd-trdump: command not found

Solutions to nbd-trdump: command not found

How To Fix nbd-trdump: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nbd-trdump is provided by nbd-server package.

nbd-server is:

Network Block Device (NBD) is a client/server protocol that emulates a block device (such as a hard disk, a floppy, or a CD-ROM) over the network, thus giving the system the ability to swap over the network, or to use raw network disk space for other purposes.

However, writing to one Network Block Device from different clients simultaneously is not recommended, and would probably result in data loss. If you want multiple clients to share a remote resource, use a network file system such as NFS or Coda.

This package provides the server binary for NBD.

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

sudo apt-get -y install nbd-server

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

You can also use apt command to install nbd-server.

sudo apt -y install nbd-server

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

sudo aptitude install nbd-server

Summary

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