diff --git a/README-CN.md b/README-CN.md index d3f9b47a0f7df18e20aea3afb170ad5f52f46b32..6df6685d03d336c2653262504bd6915036841efa 100644 --- a/README-CN.md +++ b/README-CN.md @@ -56,20 +56,6 @@ TDengine 目前 2.0 版服务器仅能在 Linux 系统上安装和运行,后 sudo apt-get install -y gcc cmake build-essential git libssl-dev ``` -编译或打包 JDBC 驱动源码,需安装 Java JDK 8 或以上版本和 Apache Maven 2.7 或以上版本。 - -安装 OpenJDK 8: - -```bash -sudo apt-get install -y openjdk-8-jdk -``` - -安装 Apache Maven: - -```bash -sudo apt-get install -y maven -``` - #### 为 taos-tools 安装编译需要的软件 taosTools 是用于 TDengine 的辅助工具软件集合。目前它包含 taosBenchmark(曾命名为 taosdemo)和 taosdump 两个软件。 @@ -85,19 +71,10 @@ sudo apt install build-essential libjansson-dev libsnappy-dev liblzma-dev libz-d ### CentOS 7.9: ```bash -sudo yum install -y gcc gcc-c++ make cmake git openssl-devel -``` - -安装 OpenJDK 8: - -```bash -sudo yum install -y java-1.8.0-openjdk -``` - -安装 Apache Maven: - -```bash -sudo yum install -y maven +sudo yum install epel-release +sudo yum update +sudo yum install -y gcc gcc-c++ make cmake3 git openssl-devel +sudo ln -sf /usr/bin/cmake3 /usr/bin/cmake ``` ### CentOS 8 & Fedora @@ -106,18 +83,6 @@ sudo yum install -y maven sudo dnf install -y gcc gcc-c++ make cmake epel-release git openssl-devel ``` -安装 OpenJDK 8: - -```bash -sudo dnf install -y java-1.8.0-openjdk -``` - -安装 Apache Maven: - -```bash -sudo dnf install -y maven -``` - #### 在 CentOS 上构建 taosTools 安装依赖软件 为了在 CentOS 上构建 [taosTools](https://github.com/taosdata/taos-tools) 需要安装如下依赖软件 diff --git a/README.md b/README.md index 3ea8a571ef444c6c1d963ffa0a939f2cfb346682..bba09849128601670a540d0415765c78e59ff952 100644 --- a/README.md +++ b/README.md @@ -59,20 +59,6 @@ To build TDengine, use [CMake](https://cmake.org/) 3.0.2 or higher versions in t sudo apt-get install -y gcc cmake build-essential git libssl-dev ``` -To compile and package the JDBC driver source code, you should have a Java jdk-8 or higher and Apache Maven 2.7 or higher installed. - -To install openjdk-8: - -```bash -sudo apt-get install -y openjdk-8-jdk -``` - -To install Apache Maven: - -```bash -sudo apt-get install -y maven -``` - #### Install build dependencies for taosTools We provide a few useful tools such as taosBenchmark (was named taosdemo) and taosdump. They were part of TDengine. From TDengine 2.4.0.0, taosBenchmark and taosdump were not released together with TDengine. @@ -93,36 +79,12 @@ sudo yum install -y gcc gcc-c++ make cmake3 git openssl-devel sudo ln -sf /usr/bin/cmake3 /usr/bin/cmake ``` -To install openjdk-8: - -```bash -sudo yum install -y java-1.8.0-openjdk -``` - -To install Apache Maven: - -```bash -sudo yum install -y maven -``` - ### CentOS 8 & Fedora ```bash sudo dnf install -y gcc gcc-c++ make cmake epel-release git openssl-devel ``` -To install openjdk-8: - -```bash -sudo dnf install -y java-1.8.0-openjdk -``` - -To install Apache Maven: - -```bash -sudo dnf install -y maven -``` - #### Install build dependencies for taosTools on CentOS To build the [taosTools](https://github.com/taosdata/taos-tools) on CentOS, the following packages need to be installed.