File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,17 +46,23 @@ on your system:
46461 . CMake
47472 . Clang
48483 . LLVM (e.g. ` llvm-strip ` )
49- 4 . ` bpftool `
50495 . NCURSES
51506 . POSIX Threads
52517 . ` libelf `
5352
5453You can install these on Ubuntu 20.04, 21.10, or 22.04 by issuing the following:
5554```
5655sudo 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+
6066On CentOS 8.4, CentOS 8 Stream, and CentOS 9 Stream:
6167```
6268sudo yum update
You can’t perform that action at this time.
0 commit comments