Skip to content

Commit

Permalink
Add build-from-source instructions for Arch Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
willfindlay authored and yonghong-song committed Nov 15, 2020
1 parent 783c0ea commit 1294ec6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- [Centos](#centos---source)
- [Amazon Linux](#amazon-linux---source)
- [Alpine](#alpine---source)
- [Arch](#arch---source)
* [Older Instructions](#older-instructions)

## Kernel Configuration
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1294ec6

Please sign in to comment.