dpdk-test-gpudev command not found

In this troubleshooting guide we learn how to fix dpdk-test-gpudev command not found error message

Introduction

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

dpdk-test-gpudev: command not found

or when using sudo you get the following error message

sudo: dpdk-test-gpudev: command not found

Solutions to dpdk-test-gpudev: command not found

How To Fix dpdk-test-gpudev: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dpdk-test-gpudev is provided by dpdk-dev package.

dpdk-dev is:

DPDK is a set of libraries for fast packet processing. Applications run in user-space and communicate directly with dedicated network interfaces.

This package contains tools useful to a developer and for dpdk self tests.

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

sudo apt-get -y install dpdk-dev

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

You can also use apt command to install dpdk-dev.

sudo apt -y install dpdk-dev

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

sudo aptitude install dpdk-dev

Summary

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