linux_安装要求
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| linux_安装要求 [2023/09/23 21:16] – admin | linux_安装要求 [2023/09/23 21:21] (当前版本) – admin | ||
|---|---|---|---|
| 行 37: | 行 37: | ||
| sudo apt install -y install libboost1.74-dev | sudo apt install -y install libboost1.74-dev | ||
| </ | </ | ||
| + | |||
| + | **Debian 10** | ||
| + | < | ||
| + | sudo apt-get update && sudo 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 | ||
| + | </ | ||
| + | Remember that if you are using the root user, it is not necessary to use sudo. | ||
| + | |||
| + | **Note:** If you add the option -y and at the end of the list, it will start installing them without the need for you to confirm. | ||
| + | |||
| + | **Example: | ||
| + | < | ||
| + | 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 | ||
| + | </ | ||
| + | |||
| + | **Check your clang version** | ||
| + | < | ||
| + | Your clang version MUST be 10 or higher (here you can check the versions that run in our Github Actions pipeline, we recommend to use one of those versions). | ||
| + | |||
| + | For example, if you are using an older version of Ubuntu like 18.04, you need to install clang using: | ||
| + | |||
| + | < | ||
| + | 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 | ||
| + | |||
| + | Check your cmake version | ||
| + | < | ||
| + | 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: | ||
| + | |||
| + | < | ||
| + | Update: | ||
| + | |||
| + | < | ||
| + | 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 " | ||
| + | |||
| + | After | ||
| + | |||
| + | < | ||
| + | you can install gcc-8: | ||
| + | |||
| + | < | ||
linux_安装要求.1695474998.txt.gz · 最后更改: 2023/09/23 21:16 由 admin