Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Last active July 4, 2016 02:55
Show Gist options
  • Save melvincabatuan/61b52ed0a7b7d86e9114 to your computer and use it in GitHub Desktop.
Save melvincabatuan/61b52ed0a7b7d86e9114 to your computer and use it in GitHub Desktop.
Centos 7 Caffe Install dependency
https://aisgit.informatik.uni-freiburg.de/zhang/caffe_future/blob/ais-master/docs/installation.md
[root@localhost build]# yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel
Loaded plugins: axelget, fastestmirror, langpacks, priorities, refresh-packagekit
No metadata available for base
No metadata available for epel
No metadata available for epel-testing
No metadata available for extras
No metadata available for nux-dextop
No metadata available for rhscl-python33-epel-7-x86_64
No metadata available for rpmforge
No metadata available for updates
No metadata available for upg
Loading mirror speeds from cached hostfile
* base: centos-hcm.viettelidc.com.vn
* epel: epel.mirror.srv.co.ge
* epel-testing: epel.mirror.srv.co.ge
* extras: centos-hcm.viettelidc.com.vn
* nux-dextop: li.nux.ro
* rpmforge: apt.sw.be
* updates: centos-hcm.viettelidc.com.vn
(1/2): upg/primary_db | 14 kB 00:00:00
(2/2): rpmforge/primary_db | 2.7 MB 00:02:02
Package snappy-devel-1.1.0-3.el7.x86_64 already installed and latest version
Package opencv-devel-2.4.5-3.el7.x86_64 already installed and latest version
Package boost-devel-1.53.0-23.el7.x86_64 already installed and latest version
Package hdf5-devel-1.8.12-6.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package leveldb-devel.x86_64 0:1.12.0-5.el7 will be installed
--> Processing Dependency: leveldb(x86-64) = 1.12.0-5.el7 for package: leveldb-devel-1.12.0-5.el7.x86_64
--> Processing Dependency: libleveldb.so.1()(64bit) for package: leveldb-devel-1.12.0-5.el7.x86_64
---> Package protobuf-devel.x86_64 0:2.5.0-7.el7 will be installed
--> Processing Dependency: protobuf-compiler = 2.5.0-7.el7 for package: protobuf-devel-2.5.0-7.el7.x86_64
--> Processing Dependency: protobuf = 2.5.0-7.el7 for package: protobuf-devel-2.5.0-7.el7.x86_64
--> Processing Dependency: libprotoc.so.8()(64bit) for package: protobuf-devel-2.5.0-7.el7.x86_64
--> Processing Dependency: libprotobuf.so.8()(64bit) for package: protobuf-devel-2.5.0-7.el7.x86_64
--> Running transaction check
---> Package leveldb.x86_64 0:1.12.0-5.el7 will be installed
---> Package protobuf.x86_64 0:2.5.0-7.el7 will be installed
---> Package protobuf-compiler.x86_64 0:2.5.0-7.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================
Installing:
leveldb-devel x86_64 1.12.0-5.el7 epel 23 k
protobuf-devel x86_64 2.5.0-7.el7 epel 162 k
Installing for dependencies:
leveldb x86_64 1.12.0-5.el7 epel 158 k
protobuf x86_64 2.5.0-7.el7 epel 338 k
protobuf-compiler x86_64 2.5.0-7.el7 epel 261 k
Transaction Summary
=============================================================================================================================================================================
Install 2 Packages (+3 Dependent packages)
Total download size: 943 k
Installed size: 3.4 M
Is this ok [y/d/N]: y
Downloading packages:
protobuf-2.5.0-7.el7.x86_64.rpm | 338 kB 00:00:16
(1/4): leveldb-1.12.0-5.el7.x86_64.rpm | 158 kB 00:00:02
(2/4): leveldb-devel-1.12.0-5.el7.x86_64.rpm | 23 kB 00:00:00
(3/4): protobuf-compiler-2.5.0-7.el7.x86_64.rpm | 261 kB 00:00:04
(4/4): protobuf-devel-2.5.0-7.el7.x86_64.rpm | 162 kB 00:00:02
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 62 kB/s | 605 kB 00:00:09
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : protobuf-2.5.0-7.el7.x86_64 1/5
Installing : protobuf-compiler-2.5.0-7.el7.x86_64 2/5
Installing : leveldb-1.12.0-5.el7.x86_64 3/5
Installing : leveldb-devel-1.12.0-5.el7.x86_64 4/5
Installing : protobuf-devel-2.5.0-7.el7.x86_64 5/5
Verifying : protobuf-2.5.0-7.el7.x86_64 1/5
Verifying : leveldb-devel-1.12.0-5.el7.x86_64 2/5
Verifying : leveldb-1.12.0-5.el7.x86_64 3/5
Verifying : protobuf-devel-2.5.0-7.el7.x86_64 4/5
Verifying : protobuf-compiler-2.5.0-7.el7.x86_64 5/5
Installed:
leveldb-devel.x86_64 0:1.12.0-5.el7 protobuf-devel.x86_64 0:2.5.0-7.el7
Dependency Installed:
leveldb.x86_64 0:1.12.0-5.el7 protobuf.x86_64 0:2.5.0-7.el7 protobuf-compiler.x86_64 0:2.5.0-7.el7
Complete!
yum install snappy snappy-devel
sudo yum install gflags-devel glog-devel lmdb-devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment