From e65296e011399669fe8395d96c597d540edf29a8 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sun, 22 Nov 2020 17:50:07 +0100 Subject: [PATCH] List typical dependencies on apt-based systems --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index c0d9da5d..4d10c4c2 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,35 @@ of compression libraries that Folly already depends on (namely [lz4](https://github.com/lz4/lz4), [zstd](https://github.com/facebook/zstd) and [liblzma](https://github.com/kobolabs/liblzma)). +A good starting point for apt-based systems is probably: + + # apt install \ + clang \ + cmake \ + make \ + pkg-config \ + binutils-dev \ + libboost-all-dev \ + libevent-dev \ + libdouble-conversion-dev \ + libgoogle-glog-dev \ + libgflags-dev \ + libiberty-dev \ + liblz4-dev \ + liblzma-dev \ + libzstd-dev \ + libsnappy-dev \ + libjemalloc-dev \ + libssl-dev \ + libunwind-dev \ + libfmt-dev \ + libfuse3-dev \ + libsparsehash-dev \ + zlib1g-dev + +Building with `clang` is recommended for better optimization, but +`g++` will work just fine, too. + The dependency on [googletest](https://github.com/google/googletest) will be automatically resolved if you build with tests.