about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-03-19 23:54:36 +0100
committerGitHub <noreply@github.com>2021-03-19 23:54:36 +0100
commit090128b3f8b8bc80cf47ae1481b01c0509dc6357 (patch)
tree03c3314427f02533a8db3e06587ce3afe74a5f23 /README.md
parentd7e121e2c99c02d4b6984f21ba837d44bce9c77c (diff)
parent749b03d812b76746b4a673f34a13fb0b067fd61d (diff)
downloadafl++-090128b3f8b8bc80cf47ae1481b01c0509dc6357.tar.gz
Merge branch 'dev' into dev
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 700fe818..627e1b0f 100644
--- a/README.md
+++ b/README.md
@@ -175,7 +175,13 @@ If you want to build afl++ yourself you have many options.
 The easiest choice is to build and install everything:
 
 ```shell
-sudo apt install build-essential python3-dev automake flex bison libglib2.0-dev libpixman-1-dev python3-setuptools clang lld llvm llvm-dev libstdc++-dev
+sudo apt-get update
+sudo apt-get install -y build-essential python3-dev automake git flex bison libglib2.0-dev libpixman-1-dev python3-setuptools
+# try to install llvm 11 and install the distro default if that fails
+sudo apt-get install -y lld-11 llvm-11 llvm-11-dev clang-11 || sudo apt-get install -y lld llvm llvm-dev clang 
+sudo apt-get install -y gcc-$(gcc --version|head -n1|sed 's/.* //'|sed 's/\..*//')-plugin-dev libstdc++-$(gcc --version|head -n1|sed 's/.* //'|sed 's/\..*//')-dev
+git clone https://github.com/AFLplusplus/AFLplusplus && cd AFLplusplus
+cd AFLplusplus
 make distrib
 sudo make install
 ```