Skip to content

Commit 0cdfa58

Browse files
Update README.md
1 parent 926f5c0 commit 0cdfa58

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,23 @@ on your system:
4646
1. CMake
4747
2. Clang
4848
3. LLVM (e.g. `llvm-strip`)
49-
4. `bpftool`
5049
5. NCURSES
5150
6. POSIX Threads
5251
7. `libelf`
5352

5453
You can install these on Ubuntu 20.04, 21.10, or 22.04 by issuing the following:
5554
```
5655
sudo apt-get update
57-
sudo apt-get install libelf-dev cmake clang llvm linux-tools-generic
56+
sudo apt-get install libelf-dev cmake clang llvm llvm-dev
5857
```
5958

59+
Ubuntu 18.04 requires a bit more work; the default LLVM version is too old:
60+
```
61+
sudo apt-get update
62+
sudo apt-get install libelf-dev cmake clang-10 llvm-10 llvm-10-dev
63+
```
64+
Then edit `build.sh` and append `-10` to the values of `CLANG`, `CLANGXX`, and `LLVMSTRIP`.
65+
6066
On CentOS 8.4, CentOS 8 Stream, and CentOS 9 Stream:
6167
```
6268
sudo yum update

0 commit comments

Comments
 (0)