How To Install wbox on Debian 9

In this tutorial we learn how to install wbox on Debian 9. wbox is HTTP testing tool and configuration-less HTTP server

Introduction

In this tutorial we learn how to install wbox on Debian 9.

What is wbox

wbox is:

Wbox aims to help you having fun while testing HTTP related stuff. You can use it to perform many tasks, including the following.

  • Benchmarking how much time it takes to generate content for your web application.
  • Web server and web application stressing.
  • Testing virtual domains configuration without the need to alter your local resolver.
  • Check if your redirects are working correctly emitting the right HTTP code.
  • Test if the HTTP compression is working and if it is actually serving pages faster.
  • Use it as a configuration-less HTTP server to share files! (it’s as simple as % wbox servermode webroot /tmp)

There are three methods to install wbox on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wbox Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wbox using apt-get by running the following command:

sudo apt-get -y install wbox

Install wbox Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wbox using apt by running the following command:

sudo apt -y install wbox

Install wbox Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install wbox using aptitude by running the following command:

sudo aptitude -y install wbox

How To Uninstall wbox on Debian 9

To uninstall only the wbox package we can use the following command:

sudo apt-get remove wbox

Uninstall wbox And Its Dependencies

To uninstall wbox and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove wbox

Remove wbox Configurations and Data

To remove wbox configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge wbox

Remove wbox configuration, data, and all of its dependencies

We can use the following command to remove wbox configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wbox

Dependencies

wbox have the following dependencies:

References

Summary

In this tutorial we learn how to install wbox package on Debian 9 using different package management tools: apt, apt-get and aptitude.