rdma_xclient command not found

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

Introduction

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

rdma_xclient: command not found

or when using sudo you get the following error message

sudo: rdma_xclient: command not found

Solutions to rdma_xclient: command not found

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

In Ubuntu rdma_xclient is provided by rdmacm-utils package.

rdmacm-utils is:

librdmacm is a library that allows applications to set up reliable connected and unreliable datagram transfers when using RDMA adapters. It provides a transport-neutral interface in the sense that the same code can be used for both InfiniBand and iWARP adapters. The interface is based on sockets, but adapted for queue pair (QP) based semantics: communication must use a specific RDMA device, and data transfers are message-based.

librdmacm only provides communication management (connection setup and tear-down) and works in conjunction with the verbs interface provided by libibverbs, which provides the interface used to actually transfer data.

This package contains useful librdmacm1 example programs such as rping and udaddy.

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

sudo apt-get -y install rdmacm-utils

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

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

sudo apt -y install rdmacm-utils

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

sudo aptitude install rdmacm-utils

Summary

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