diff --git a/Build.md b/Build.md index e14f04c..6a961d3 100644 --- a/Build.md +++ b/Build.md @@ -1,5 +1,5 @@ Some distributions package a pre-built version of **ccls**. See the -system-specific sections below. If you build **ccls** from source, you will need: +[system-specific](#system-specific-notes) sections below. If you build **ccls** from source, you will need: * [CMake](https://cmake.org/) 3.8 or higher. * A C++ compiler with C++17 support: @@ -137,9 +137,14 @@ Also you can install ccls-git from the archlinuxcn repo using pacman. ### Debian ```sh -# system clang: apt install clang-7 libclang-7-dev -sudo apt install zlib1g-dev libncurses-dev -cmake -H. -BRelease -DCMAKE_PREFIX_PATH=/usr/lib/llvm-7 +# bullseye/11 and later +sudo apt install ccls +``` + +```sh +# build from source +sudo apt install clang cmake libclang-dev llvm-dev rapidjson-dev +cmake -H. -BRelease ``` ### Fedora