diff options
| author | Walter Pagani <paganiwalter@gmail.com> | 2021-12-03 17:53:43 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-03 21:53:43 +0100 |
| commit | 646246788b149dda84a3194bfeae9c1e13753dba (patch) | |
| tree | 62f7ee27eb462d12e8a56874e6dba75e21f5ae7c /docs | |
| parent | 74f6008164ef58c0711b4c49b106d98a2ba34a29 (diff) | |
| download | wiki-646246788b149dda84a3194bfeae9c1e13753dba.tar.gz wiki-646246788b149dda84a3194bfeae9c1e13753dba.tar.bz2 wiki-646246788b149dda84a3194bfeae9c1e13753dba.zip | |
Upgrading cmake and clang11 on Debian 10 (#655)
* Updating dependencies
* Updating cmake using Python
* Installing clang11 on Debian 10
* Typo
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/linux-requirements.md | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/docs/linux-requirements.md b/docs/linux-requirements.md index 00f40af..d8a0c20 100644 --- a/docs/linux-requirements.md +++ b/docs/linux-requirements.md @@ -53,7 +53,7 @@ Remember that if you are using the `root` user, it is not necessary to use `sudo **Example:** ```sh -apt-get update && apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mariadb-server libace-6.* libace-dev -y +apt-get update && apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mariadb-server libboost-all-dev -y ``` --- @@ -74,6 +74,14 @@ sudo apt-get install clang-7.0 If you use another distro or version, search on google for how to install the right clang version for your system. +Currently the project requires clang10 or higher. + +This is a way to upgrade and install version 11. + +The answer is detailed here: + +[How to install clang 11 on Debian](https://stackoverflow.com/questions/66223241/how-to-install-clang-11-on-debian) + #### Check your cmake version ```sh @@ -84,6 +92,20 @@ Your `cmake` version **MUST** be `3.16` or higher. On an older version of Ubuntu (example: 16.04), you can follow the instructions here in order to install the latest cmake version. On debian you would need to use the backports sources or build Cmake manually. +Remember that it is possible to update cmake, using Python. + +Install: + +```sh +python -m pip install cmake +``` + +Update: + +```sh +python -m pip install --upgrade cmake +``` + #### Ensure that the gcc-8 headers are installed This is an issue if for example using an older version of Ubuntu like 16.04. There you have to add the PPA "Toolchain test builds": |
