This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new e3d7134962 fix complication guide on ubuntu (#9337)
e3d7134962 is described below

commit e3d713496203b3905471a8ae86b5d6bd5a530531
Author: dataroaring <98214048+dataroar...@users.noreply.github.com>
AuthorDate: Sun May 1 17:42:13 2022 +0800

    fix complication guide on ubuntu (#9337)
---
 docs/en/install/source-install/compilation.md | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/docs/en/install/source-install/compilation.md 
b/docs/en/install/source-install/compilation.md
index 69f2bb5ade..d64e299d85 100644
--- a/docs/en/install/source-install/compilation.md
+++ b/docs/en/install/source-install/compilation.md
@@ -153,7 +153,11 @@ You can try to compile Doris directly in your own Linux 
environment.
 
        If you are using Ubuntu 16.04 or newer, you can use the following 
command to install the dependencies
 
-       `sudo apt-get install build-essential openjdk-8-jdk maven cmake byacc 
flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip 
libncurses5-dev curl git ninja-build python autopoint pkg-config`
+       ```
+       sudo apt-get install build-essential openjdk-8-jdk maven byacc flex 
automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev 
curl git ninja-build python autopoint pkg-config
+       apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main'
+       apt-get update && apt-get install cmake
+       ```
 
        If you are using CentOS you can use the following command to install 
the dependencies
 
@@ -167,9 +171,11 @@ You can try to compile Doris directly in your own Linux 
environment.
 
        ```
        sudo apt install build-essential openjdk-8-jdk maven cmake byacc flex 
automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev 
curl git ninja-build python
-       sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
+       sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
        sudo apt update
-       sudo apt install gcc-10 g++-10
+       sudo apt install gcc-11 g++-11
+       ln -s /usr/bin/g++-11 /usr/bin/g++
+       ln -s /usr/bin/gcc-11 /usr/bin/gcc
        sudo apt-get install autoconf automake libtool autopoint
        ```
         If you are using CentOS you can use the following command to install 
the dependencies


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to