You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/03/12 04:05:13 UTC

[GitHub] [incubator-brpc] wasphin commented on issue #1355: BRPC 支持RPM安装吗?

wasphin commented on issue #1355:
URL: https://github.com/apache/incubator-brpc/issues/1355#issuecomment-797220019


   package/rpm 下有 rpm 打包的 spec, 目前测试可以在 rhel/centos 6/7/8 上打包安装使用, 可以从 release 界面下载 tar 包或自己使用命令打一个:
   ```
   export TOPDIR=`pwd`/package
   mkdir ${TOPDIR}/SOURCES
   git archive --format=tar.gz --prefix=incubator-brpc-0.9.7/ --output ${TOPDIR}/SOURCES/incubator-brpc-0.9.7.tar.gz HEAD
   ```
   安装依赖:
   ```
   sudo yum-builddeps -y package/rpm/brpc.spec
   ```
   编译:
   ```
   rpmbuild -bb package/rpm/brpc.spec ---define "%_topdir $TOPDIR"
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org