Siege is a utility for stress testing web applications and web servers. It's used to help expose vulnerabilities or failures that happen under stress.

The instructions for installing siege from source aren't too dificult. Here I'll be installing it on my home folder in an folder named opt.

In Debian/Ubuntu or other systems like it, you should install the package build-essential

 sudo apt-get update && sudo apt-get install build-essential

On OS X, you need the XCode Command Line Tools.

xcode-select --install


Now to install it.

If you want the latest version, you can just download it,

curl -O

Now we extract it,

tar xf siege-latest.tar.gz

It will create a folder named siege-x.y.z. In my case it's siege-3.1.3. We now cd into this directory:

cd siege-3.1.3

Run configure with the --prefix we want.

./configure --prefix $HOME/opt

Now we simply run make and make install

make install


If you want to do it via Git:

  1. Clone the repo:

    git clone
  2. Change into the new siege folder

    cd siege
  3. Run the bootstrap script.

  4. Now we can run configure with a prefix:

    ./configure --prefix ${HOME}/opt
  5. Now we can make siege

  6. And now we install it:

    make install