nl-qdisc-add command not found

In this troubleshooting guide we learn how to fix nl-qdisc-add command not found error message

Introduction

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

nl-qdisc-add: command not found

or when using sudo you get the following error message

sudo: nl-qdisc-add: command not found

Solutions to nl-qdisc-add: command not found

How To Fix nl-qdisc-add: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nl-qdisc-add is provided by libnl-utils package.

libnl-utils is:

This is a library for applications dealing with netlink sockets. The library provides an interface for raw netlink messaging and various netlink family specific interfaces.

These utilities help dealing with netlink sockets.

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

sudo apt-get -y install libnl-utils

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

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

sudo apt -y install libnl-utils

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

sudo aptitude install libnl-utils

Summary

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