You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2020/03/01 08:49:21 UTC
[rocketmq-client-go] branch master updated: doc(readme): update the
method of CPP core library installing
This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new 2fbfc9d doc(readme): update the method of CPP core library installing
2fbfc9d is described below
commit 2fbfc9daf2a9e1b6e5c3f2b54d04c8c54c30cde4
Author: ShannonDing <li...@163.com>
AuthorDate: Sun Mar 1 16:49:01 2020 +0800
doc(readme): update the method of CPP core library installing
---
doc/Introduction.md | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/Introduction.md b/doc/Introduction.md
index 3599533..a4f6339 100644
--- a/doc/Introduction.md
+++ b/doc/Introduction.md
@@ -1,27 +1,27 @@
## Prerequisites
### Install `librocketmq`
-rocketmq-client-go is a lightweight wrapper around [rocketmq-client-cpp](https://github.com/apache/rocketmq-client-cpp), so you need install
-`librocketmq` first.
+rocketmq-client-go is a lightweight wrapper around [rocketmq-client-cpp](https://github.com/apache/rocketmq-client-cpp), so you need to install
+the `librocketmq` first. you can install it using binary release or build it from source code manually.
#### Download by binary release.
-download specific release according you OS: [rocketmq-client-cpp-2.0.0](https://github.com/apache/rocketmq-client-cpp/releases/tag/2.0.0)
+download specific [cpp release version](https://github.com/apache/rocketmq-client-cpp/releases) according you OS, here we take [rocketmq-client-cpp-2.0.1](https://github.com/apache/rocketmq-client-cpp/releases/tag/2.0.1) as an example.
- centos
- take centos7 as example, you can install the library in centos6 by the same method.
+ take centos7 as an example, you can install the library in centos6 by the same method.
```bash
- wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.0/rocketmq-client-cpp-2.0.0-centos7.x86_64.rpm
- sudo rpm -ivh rocketmq-client-cpp-2.0.0-centos7.x86_64.rpm
+ wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.1/rocketmq-client-cpp-2.0.1-centos7.x86_64.rpm
+ sudo rpm -ivh rocketmq-client-cpp-2.0.1-centos7.x86_64.rpm
```
- debian
```bash
- wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.0/rocketmq-client-cpp-2.0.0.amd64.deb
- sudo dpkg -i rocketmq-client-cpp-2.0.0.amd64.deb
+ wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.1/rocketmq-client-cpp-2.0.1.amd64.deb
+ sudo dpkg -i rocketmq-client-cpp-2.0.1.amd64.deb
```
- macOS
```bash
- wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.0/rocketmq-client-cpp-2.0.0-bin-release.darwin.tar.gz
- tar -xzf rocketmq-client-cpp-2.0.0-bin-release.darwin.tar.gz
+ wget https://github.com/apache/rocketmq-client-cpp/releases/download/2.0.1/rocketmq-client-cpp-2.0.1-bin-release.darwin.tar.gz
+ tar -xzf rocketmq-client-cpp-2.0.1-bin-release.darwin.tar.gz
cd rocketmq-client-cpp
mkdir /usr/local/include/rocketmq
cp include/* /usr/local/include/rocketmq