brctl command not found

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

Introduction

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

brctl: command not found

or when using sudo you get the following error message

sudo: brctl: command not found

Solutions to brctl: command not found

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

In Ubuntu brctl is provided by bridge-utils package.

bridge-utils is:

This package contains utilities for configuring the Linux Ethernet bridge in Linux. The Linux Ethernet bridge can be used for connecting multiple Ethernet devices together. The connecting is fully transparent: hosts connected to one Ethernet device see hosts connected to the other Ethernet devices directly.

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

sudo apt-get -y install bridge-utils

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

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

sudo apt -y install bridge-utils

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

sudo aptitude install bridge-utils

Summary

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