File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,18 @@ Installing required packages for clean install of Ubuntu 14.04 LTS Desktop:
6363 $ sudo apt-get -y install maven
6464* Native libraries
6565 $ sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev libsasl2-dev
66+ * GCC 9.3.0
67+ $ sudo apt-get -y install software-properties-common
68+ $ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
69+ $ sudo apt-get update
70+ $ sudo apt-get -y install g++-9 gcc-9
71+ $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
72+ * CMake 3.19
73+ $ curl -L https://cmake.org/files/v3.19/cmake-3.19.0.tar.gz > cmake-3.19.0.tar.gz
74+ $ tar -zxvf cmake-3.19.0.tar.gz && cd cmake-3.19.0
75+ $ ./bootstrap
76+ $ make -j$(nproc)
77+ $ sudo make install
6678* Protocol Buffers 3.7.1 (required to build native code)
6779 $ mkdir -p /opt/protobuf-3.7-src \
6880 && curl -L -s -S \
@@ -452,6 +464,17 @@ Building on CentOS 8
452464* Install libraries provided by CentOS 8.
453465 $ sudo dnf install libtirpc-devel zlib-devel lz4-devel bzip2-devel openssl-devel cyrus-sasl-devel libpmem-devel
454466
467+ * Install GCC 9.3.0
468+ $ sudo dnf -y install gcc-toolset-9-gcc gcc-toolset-9-gcc-c++
469+ $ source /opt/rh/gcc-toolset-9/enable
470+
471+ * Install CMake 3.19
472+ $ curl -L https://cmake.org/files/v3.19/cmake-3.19.0.tar.gz > cmake-3.19.0.tar.gz
473+ $ tar -zxvf cmake-3.19.0.tar.gz && cd cmake-3.19.0
474+ $ ./bootstrap
475+ $ make -j$(nproc)
476+ $ sudo make install
477+
455478* Install boost.
456479 $ curl -L -o boost_1_72_0.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download
457480 $ tar xjf boost_1_72_0.tar.bz2
You can’t perform that action at this time.
0 commit comments