siege command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
siege: command not found
or when using sudo you get the following error message
sudo: siege: command not found
Solutions to siege: command not found
How To Fix siege: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu siege is provided by siege package.
siege is:
Siege is an regression test and benchmark utility. It can stress test a single URL with a user defined number of simulated users, or it can read many URLs into memory and stress them simultaneously. The program reports the total number of hits recorded, bytes transferred, response time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1 protocols, the GET and POST directives, cookies, transaction logging, and basic authentication. Its features are configurable on a per user basis.
Note: this package contains siege with HTTPS support turned on, thus it obsoletes siege-ssl package now.
To fix this problem, we can install more using the command below.
sudo apt-get -y install siege
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install siege.
sudo apt -y install siege
Or if you have aptitude installed you can use the following command.
sudo aptitude install siege
Summary
In this tutorial we learn how to fix siege command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.