Skip to content

Instantly share code, notes, and snippets.

@higebu
Last active November 8, 2018 06:49
Show Gist options
  • Save higebu/624ce39274168a73337f1b579fce40d3 to your computer and use it in GitHub Desktop.
Save higebu/624ce39274168a73337f1b579fce40d3 to your computer and use it in GitHub Desktop.
Install iovisor/bcc on Debian Stretch
#!/bin/bash
apt-get -t stretch-backports install -y linux-image-amd64 linux-headers-amd64
apt-get -t stretch-backports install -y debhelper cmake libllvm6.0 llvm-6.0-dev libclang-6.0-dev \
libelf-dev bison flex libedit-dev clang-format-6.0 python python-netaddr \
python-pyroute2 luajit libluajit-5.1-dev arping iperf netperf ethtool \
devscripts zlib1g-dev libfl-dev
git clone https://github.com/iovisor/bcc.git
pushd bcc
cmake .
make
make install
popd
ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment