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

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

commit e29d1ff59de5c04fd520deb90e11a7d701c52716
Author: Stalary <stal...@163.com>
AuthorDate: Mon Feb 19 09:50:36 2024 +0800

     [Fix](Docs) add thrift brew command #31077
---
 docs/en/community/developer-guide/fe-idea-dev.md            | 7 ++++---
 docs/en/community/developer-guide/mac-dev/dev-prepare.md    | 7 ++++---
 docs/zh-CN/community/developer-guide/fe-idea-dev.md         | 7 ++++---
 docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md | 7 ++++---
 4 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/docs/en/community/developer-guide/fe-idea-dev.md 
b/docs/en/community/developer-guide/fe-idea-dev.md
index d52454cdb6b..c9e931cb996 100644
--- a/docs/en/community/developer-guide/fe-idea-dev.md
+++ b/docs/en/community/developer-guide/fe-idea-dev.md
@@ -51,9 +51,10 @@ under the License.
     
     - MacOS: 
 
-        1. `brew tap-new $USER/local-tap`
-        2. `brew extract --version='0.16.0' thrift $USER/local-tap`
-        3. `brew install thrift@0.16.0`
+        1. `brew tap homebrew/core --force`
+        2. `brew tap-new $USER/local-tap`
+        3. `brew extract --version='0.16.0' thrift $USER/local-tap`
+        4. `brew install thrift@0.16.0`
 
         If there is an error related to downloading, you can modify the 
following files:
 
diff --git a/docs/en/community/developer-guide/mac-dev/dev-prepare.md 
b/docs/en/community/developer-guide/mac-dev/dev-prepare.md
index 22e879ea352..a894df68b0e 100644
--- a/docs/en/community/developer-guide/mac-dev/dev-prepare.md
+++ b/docs/en/community/developer-guide/mac-dev/dev-prepare.md
@@ -60,9 +60,10 @@ MacOS:
         `ln -s /usr/local/Cellar/thrift@0.16.0/0.16.0/bin/thrift 
./thirdparty/installed/bin/thrift`
     
 Note:macOS implement `brew install thrift@0.16.0` it may report an error that 
the version cannot be found. The solution is as follows, execute in the 
terminal:
-    1. `brew tap-new $USER/local-tap`
-    2. `brew extract --version='0.16.0' thrift $USER/local-tap`
-    3. `brew install thrift@0.16.0`
+    1. `brew tap homebrew/core --force`
+    2. `brew tap-new $USER/local-tap`
+    3. `brew extract --version='0.16.0' thrift $USER/local-tap`
+    4. `brew install thrift@0.16.0`
 reference link: 
`https://gist.github.com/tonydeng/02e571f273d6cce4230dc8d5f394493c`
 ```
 
diff --git a/docs/zh-CN/community/developer-guide/fe-idea-dev.md 
b/docs/zh-CN/community/developer-guide/fe-idea-dev.md
index 5eb1a70548c..f820c184f9d 100644
--- a/docs/zh-CN/community/developer-guide/fe-idea-dev.md
+++ b/docs/zh-CN/community/developer-guide/fe-idea-dev.md
@@ -47,9 +47,10 @@ JDK1.8+, IntelliJ IDEA
     
     - MacOS: 
 
-        1. `brew tap-new $USER/local-tap`
-        2. `brew extract --version='0.16.0' thrift $USER/local-tap`
-        3. `brew install thrift@0.16.0`
+        1. `brew tap homebrew/core --force`
+        2. `brew tap-new $USER/local-tap`
+        3. `brew extract --version='0.16.0' thrift $USER/local-tap`
+        4. `brew install thrift@0.16.0`
 
         如有下载相关的报错,可修改如下文件:
 
diff --git a/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md 
b/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
index 0e3c0523f43..52a34c64e04 100644
--- a/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
+++ b/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
@@ -60,9 +60,10 @@ MacOS:
         `ln -s /usr/local/Cellar/thrift@0.16.0/0.16.0/bin/thrift 
./thirdparty/installed/bin/thrift`
 
 注:macOS 执行 `brew install thrift@0.16.0` 可能会报找不到版本的错误,解决方法如下,在终端执行:
-    1. `brew tap-new $USER/local-tap`
-    2. `brew extract --version='0.16.0' thrift $USER/local-tap`
-    3. `brew install thrift@0.16.0`
+    1. `brew tap homebrew/core --force`
+    2. `brew tap-new $USER/local-tap`
+    3. `brew extract --version='0.16.0' thrift $USER/local-tap`
+    4. `brew install thrift@0.16.0`
 参考链接: `https://gist.github.com/tonydeng/02e571f273d6cce4230dc8d5f394493c`
 ```
 


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

Reply via email to