wrk command not found

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

Introduction

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

wrk: command not found

or when using sudo you get the following error message

sudo: wrk: command not found

Solutions to wrk: command not found

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

In Ubuntu wrk is provided by wrk package.

wrk is:

wrk is a modern HTTP benchmarking tool capable of generating significant load when run on a single multi-core CPU. It combines a multithreaded design with scalable event notification systems such as epoll and kqueue.

An optional LuaJIT script can perform HTTP request generation, response processing, and custom reporting.

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

sudo apt-get -y install wrk

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

You can also use apt command to install wrk.

sudo apt -y install wrk

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

sudo aptitude install wrk

Summary

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