How To Install sbws on Kali Linux
Introduction
In this tutorial we learn how to install sbws on Kali Linux.
What is sbws
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.
There are three methods to install sbws on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install sbws Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install sbws using apt-get by running the following command:
sudo apt-get -y install sbwsInstall sbws Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install sbws using apt by running the following command:
sudo apt -y install sbwsInstall sbws Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install sbws using aptitude by running the following command:
sudo aptitude -y install sbwsHow To Uninstall sbws on Kali Linux
To uninstall only the sbws package we can use the following command:
sudo apt-get remove sbwsUninstall sbws And Its Dependencies
To uninstall sbws and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sbwsRemove sbws Configurations and Data
To remove sbws configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sbwsRemove sbws configuration, data, and all of its dependencies
We can use the following command to remove sbws configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sbwsDependencies
sbws have the following dependencies:
References
Summary
In this tutorial we learn how to install sbws package on Kali Linux using different package management tools: apt, apt-get and aptitude.