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

twice pushed a commit to branch start-command
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git

commit 3c223c32f6f6da178f77d228da6a71293ed3e8c8
Author: Twice <[email protected]>
AuthorDate: Fri Jul 14 08:54:22 2023 +0000

    Update commands in getting-start
---
 docs/getting-started.md | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/docs/getting-started.md b/docs/getting-started.md
index 7000954..257e819 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -25,26 +25,33 @@ redis-cli -p 6666
 ### Install dependencies
 
 <Tabs>
-<TabItem value="centos" label="CentOS/RedHat" default>
+<TabItem value="debian" label="Ubuntu/Debian">
 
 ```shell
-sudo yum install -y epel-release
-sudo yum install -y git gcc gcc-c++ make cmake autoconf automake libtool which
+sudo apt update
+sudo apt install -y git build-essential cmake libtool python3 libssl-dev
 ```
 
 </TabItem>
-<TabItem value="debian" label="Ubuntu/Debian">
+<TabItem value="centos" label="CentOS/RedHat" default>
 
 ```shell
-sudo apt update
-sudo apt install gcc g++ make cmake autoconf automake libtool
+sudo yum install -y centos-release-scl-rh
+sudo yum install -y git devtoolset-11 autoconf automake libtool 
libstdc++-static python3 openssl-devel
+# download and install cmake via https://cmake.org/download
+wget 
https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-linux-x86_64.sh
 -O cmake.sh
+sudo bash cmake.sh --skip-license --prefix=/usr
+# enable gcc and make in devtoolset-11
+source /opt/rh/devtoolset-11/enable
 ```
 
 </TabItem>
 <TabItem value="macos" label="macOS">
 
 ```shell
-brew install autoconf automake libtool cmake
+brew install git cmake autoconf automake libtool openssl
+# please link openssl by force if it still cannot be found after installing
+brew link --force openssl
 ```
 
 </TabItem>

Reply via email to