diff options
author | qkrorlqr <qkrorlqr@yandex-team.com> | 2022-10-31 23:10:08 +0300 |
---|---|---|
committer | qkrorlqr <qkrorlqr@yandex-team.com> | 2022-10-31 23:10:08 +0300 |
commit | d99b3d79e8fbda3274460abc94f153b0333b2da6 (patch) | |
tree | 885d857d7b0a734a57ef0138bd03361c71542bb8 | |
parent | 4b49f7a8d7c74f6289bbe1c51609ba44cabf827f (diff) | |
download | ydb-d99b3d79e8fbda3274460abc94f153b0333b2da6.tar.gz |
fixed ubuntu version hardcode;;
-rw-r--r-- | BUILD.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,13 +29,13 @@ 1. Add repositories for dependencies - Note: the following repositories are required for **Ubuntu 20.04**. You may skip this step if your GNU/Linux distribution has all required packages in their default repository. + Note: the following repositories are required for **Ubuntu 18.04 and Ubuntu 20.04**. You may skip this step if your GNU/Linux distribution has all required packages in their default repository. For more information please read your distribution documentation and https://apt.llvm.org as well as https://apt.kitware.com/ ``` wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | sudo apt-key add - - echo 'deb http://apt.kitware.com/ubuntu/ focal main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null - echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main' | sudo tee /etc/apt/sources.list.d/llvm.list >/dev/null + echo "deb http://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null + echo "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/llvm.list >/dev/null sudo apt-get update ``` |