Skip to content

Installing wrk2 on Linux

Oliver Mannion edited this page Jul 7, 2018 · 10 revisions

Ubuntu/Debian (clean box)

sudo apt-get update
sudo apt-get install build-essential libssl-dev git
git clone https://github.com/giltene/wrk2.git
cd wrk2
make
# move the executable to somewhere in your PATH
sudo cp wrk /usr/local/bin

Installs the build tools, open ssl dev libs (including headers), and git. Then uses git to download wrk and build.

CentOS / RedHat / Fedora

sudo yum -y groupinstall 'Development Tools'
sudo yum -y install openssl-devel git
git clone https://github.com/giltene/wrk2.git
cd wrk2
make
# move the executable to somewhere in your PATH
sudo cp wrk /somewhere/in/your/PATH

Installs the build tools, open ssl dev libs (including headers), and git. Then uses git to download wrk and build.

Clone this wiki locally