Created
May 19, 2021 14:50
-
-
Save zstone12/8e3554b8b7e34817b7adeaed276c4e4a to your computer and use it in GitHub Desktop.
install_bcc.sh
This file contains 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
sudo apt-get update | |
sudo apt-get -y remove llvm-9 | |
sudo apt-get -y install bison build-essential cmake flex git libedit-dev libllvm6.0 llvm-6.0-dev libclang-6.0-dev python zlib1g-dev libelf-dev libfl-dev | |
git clone https://github.com/iovisor/bcc.git | |
mkdir bcc/build; cd bcc/build | |
cmake .. | |
make | |
sudo make install | |
cmake -DPYTHON_CMD=python3 .. # build python3 binding | |
pushd src/python/ | |
make | |
sudo make install | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment