Last active
November 8, 2018 06:49
-
-
Save higebu/624ce39274168a73337f1b579fce40d3 to your computer and use it in GitHub Desktop.
Install iovisor/bcc on Debian Stretch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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