spanning_tree command not found

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

Introduction

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

spanning_tree: command not found

or when using sudo you get the following error message

sudo: spanning_tree: command not found

Solutions to spanning_tree: command not found

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

In Ubuntu spanning_tree is provided by vowpal-wabbit package.

vowpal-wabbit is:

Vowpal Wabbit is a fast online machine learning algorithm. The core algorithm is specialist gradient descent (GD) on a loss function (several are available). VW features:

  • flexible input data specification
  • speedy learning
  • scalability (bounded memory footprint, suitable for distributed computation)
  • feature pairing

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

sudo apt-get -y install vowpal-wabbit

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

You can also use apt command to install vowpal-wabbit.

sudo apt -y install vowpal-wabbit

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

sudo aptitude install vowpal-wabbit

Summary

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