sbws command not found

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

Introduction

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

sbws: command not found

or when using sudo you get the following error message

sudo: sbws: command not found

Solutions to sbws: command not found

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

In Ubuntu sbws is provided by sbws package.

sbws is:

Simple Bandwidth Scanner (sbws) scan the Tor network and generates bandwidth list files (also called measurements).

Bandwidth list files contain the Tor relays’ bandwidths scaled. The are read by the Tor directory authorities to assign weights to the relays during heir votes. The specification of the Bandwidth list format is in https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt

The scanner (also called generator) builds two hop circuits consisting of the relay being measured and a fast exit. Over these circuits it measures download performance.

WARNING: This software is intended to be run by researchers using a test Tor network, such as chutney or shadow, or by the Tor bandwidth authorities on the public Tor network. Please do not run this software on the public Tor network unless you are one of the Tor bandwidth authorities, to avoid creating unnecessary traffic.

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

sudo apt-get -y install sbws

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

You can also use apt command to install sbws.

sudo apt -y install sbws

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

sudo aptitude install sbws

Summary

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