dcb command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dcb: command not found
or when using sudo you get the following error message
sudo: dcb: command not found
Solutions to dcb: command not found
How To Fix dcb: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dcb is provided by iproute2 package.
iproute2 is:
The iproute2 suite is a collection of utilities for networking and traffic control.
These tools communicate with the Linux kernel via the (rt)netlink interface, providing advanced features not available through the legacy net-tools commands ‘ifconfig’ and ‘route’.
To fix this problem, we can install more using the command below.
sudo apt-get -y install iproute2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install iproute2.
sudo apt -y install iproute2
Or if you have aptitude installed you can use the following command.
sudo aptitude install iproute2
Summary
In this tutorial we learn how to fix dcb command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.