Add build-from-source instructions for Arch Linux
- [Centos](#centos---source)
- [Amazon Linux](#amazon-linux---source)
- [Alpine](#alpine---source)
+ - [Arch](#arch---source)
* [Older Instructions](#older-instructions)
## Kernel Configuration
@@ -653,6 +654,30 @@ ln -s $(which python3) /usr/bin/python
sudo /usr/share/bcc/tools/execsnoop
```
+## Arch - Source
+
+### Install dependencies
+
+```
+pacman -S cmake clang llvm flex bison python
+```
+
+### Build bcc
+
+```
+git clone https://github.com/iovisor/bcc.git
+pushd .
+mkdir bcc/build
+cd bcc/build
+cmake .. -DPYTHON_CMD=python3 # for python3 support
+make -j$(nproc)
+sudo make install
+cd src/python
+make -j$(nproc)
+sudo make install
+popd
+```
+
# Older Instructions
## Build LLVM and Clang development libs
