dtestx command not found

In this troubleshooting guide we learn how to fix dtestx command not found error message

Introduction

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

dtestx: command not found

or when using sudo you get the following error message

sudo: dtestx: command not found

Solutions to dtestx: command not found

How To Fix dtestx: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dtestx is provided by dapl2-utils package.

dapl2-utils is:

The Direct Access Programming Library (DAPL) is a transport-independent, platform-independent API that supports Remote Direct Memory Access (RDMA) devices such as Infiniband and iWARP .

This package contains example utilities that use the DAPL API.

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

sudo apt-get -y install dapl2-utils

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

You can also use apt command to install dapl2-utils.

sudo apt -y install dapl2-utils

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

sudo aptitude install dapl2-utils

Summary

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