DBILITY

Centos Google Protobuf 2.5.0 install( 설치 ) 본문

os/linux

Centos Google Protobuf 2.5.0 install( 설치 )

DBILITY 2018. 4. 11. 10:36
반응형

 

소스컴파일시 https://github.com/linux-on-ibm-z/docs/wiki/Building-Google-Protobuf-2.5.0

소스컴파일은 의존성 등 문제가 많다. 귀찮다.
따라하면 된다.

yum 설치시 

[root@big-master src]# yum -y install protobuf protobuf-devel
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * extras: mirror.kakao.com
 * updates: mirror.qoxy.com
Resolving Dependencies
--> Running transaction check
---> Package protobuf.x86_64 0:2.5.0-8.el7 will be installed
---> Package protobuf-devel.x86_64 0:2.5.0-8.el7 will be installed
--> Processing Dependency: protobuf-compiler = 2.5.0-8.el7 for package: protobuf-devel-2.5.0-8.el7.x86_64
--> Processing Dependency: libprotoc.so.8()(64bit) for package: protobuf-devel-2.5.0-8.el7.x86_64
--> Running transaction check
---> Package protobuf-compiler.x86_64 0:2.5.0-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================
 Package                          Arch                  Version                    Repository           Size
=============================================================================================================
Installing:
 protobuf                         x86_64                2.5.0-8.el7                base                338 k
 protobuf-devel                   x86_64                2.5.0-8.el7                base                163 k
Installing for dependencies:
 protobuf-compiler                x86_64                2.5.0-8.el7                base                261 k

Transaction Summary
=============================================================================================================
Install  2 Packages (+1 Dependent package)

Total download size: 762 k
Installed size: 2.9 M
Downloading packages:
(1/3): protobuf-compiler-2.5.0-8.el7.x86_64.rpm                                       | 261 kB  00:00:00
(2/3): protobuf-2.5.0-8.el7.x86_64.rpm                                                | 338 kB  00:00:00
(3/3): protobuf-devel-2.5.0-8.el7.x86_64.rpm                                          | 163 kB  00:00:00
-------------------------------------------------------------------------------------------------------------
Total                                                                        3.4 MB/s | 762 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : protobuf-2.5.0-8.el7.x86_64                                                               1/3
  Installing : protobuf-compiler-2.5.0-8.el7.x86_64                                                      2/3
  Installing : protobuf-devel-2.5.0-8.el7.x86_64                                                         3/3
  Verifying  : protobuf-devel-2.5.0-8.el7.x86_64                                                         1/3
  Verifying  : protobuf-compiler-2.5.0-8.el7.x86_64                                                      2/3
  Verifying  : protobuf-2.5.0-8.el7.x86_64                                                               3/3

Installed:
  protobuf.x86_64 0:2.5.0-8.el7                      protobuf-devel.x86_64 0:2.5.0-8.el7

Dependency Installed:
  protobuf-compiler.x86_64 0:2.5.0-8.el7

Complete!
[root@big-master src]# rpm -qa protobuf
protobuf-2.5.0-8.el7.x86_64

[root@big-master src]# protoc --version
libprotoc 2.5.0

 

반응형

'os > linux' 카테고리의 다른 글

file content merge & replace  (0) 2018.04.12
vim replace  (0) 2018.04.11
maven binary 설치  (0) 2018.04.11
Centos7 minimal install 후 설치할 것들  (0) 2016.09.08
wget으로 jdk 다운로드  (0) 2016.09.08
Comments