Prebuilt Packages
wrk is easy to install from packages, available on some platforms.
Install in CentOS / RHEL 6
yum install https://extras.getpagespeed.com/release-el6-latest.rpm
yum install wrk
Install in CentOS / RHEL 7
yum install https://extras.getpagespeed.com/release-el7-latest.rpm
yum install wrk
Install in Fedora 28+
dnf copr enable getpagespeed/wrk
dnf install wrk
Compilation
You may want to compile wrk if prebuilt packages are not available for your platform.
wrk needs openssl dev package and gcc/dev stack.
What follows is brief instructions on how to install wrk on Linux.
Ubuntu/Debian (clean box)
The above installs build tools, open ssl dev libs (including headers), and git. Then uses git to download wrk and builds it from that.
CentOS / RedHat / Fedora
Installs the build tools, open ssl dev libs (including headers), and git. Then uses git to download wrk and build.