Included are the steps for macOS and Ubuntu/Debian. I didn't do Windows because I don't have or use Windows. 😕
Last active
May 6, 2024 13:39
-
-
Save boogah/b485bd8a6333677f343e22b81278663d to your computer and use it in GitHub Desktop.
Note: These instructions require Homebrew and Homebrew Cask. If you're not using them already, you really should. They're great.
brew install nghttp2
Note: You need to do this as root. Using sudo -i
should give you the privledges you need as long as the machine is yours.
apt install g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev -y --force-yes
git clone https://github.com/nghttp2/nghttp2.git && cd nghttp2
autoreconf -i
automake
autoconf
./configure --enable-app
make
make install
The h2load binary doesn't ship in Ubuntu's nghttp2 package, so you have to build the h2load
binary manually. If you follow the instructions above, it should go without a hitch.
./configure --enable-apps
should be:
./configure --enable-app
Thanks for the notes @emanweb & @lycandroid. Fixed the instructions!
I had to add missing dependency libc-ares on Ubuntu
apt install libc-ares-dev
Today, I get h2load bundled with nghttp2
:
$ apt install -y nghttp2
$ h2load
no URI or input file given
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Ubuntu 14.04 and had to add --force-yes in order to work
apt install g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev -y --force-yes