Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Created May 20, 2015 07:54
Show Gist options
  • Save melvincabatuan/26943b82c5bf2939f053 to your computer and use it in GitHub Desktop.
Save melvincabatuan/26943b82c5bf2939f053 to your computer and use it in GitHub Desktop.
CENTOS 7 Caffe Dependency Install
# yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel
Loaded plugins: fastestmirror, refresh-packagekit
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
upg | 1.9 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 54 kB 00:00:00
(2/4): base/7/x86_64/group_gz | 154 kB 00:00:00
(3/4): updates/7/x86_64/primary_db | 1.7 MB 00:00:00
(4/4): base/7/x86_64/primary_db | 5.1 MB 00:07:46
upg/primary_db | 14 kB 00:00:00
Determining fastest mirrors
* base: centos-hcm.viettelidc.com.vn
* extras: centos-hcm.viettelidc.com.vn
* updates: centos-hcm.viettelidc.com.vn
No package protobuf-devel available.
No package leveldb-devel available.
No package hdf5-devel available.
Resolving Dependencies
--> Running transaction check
---> Package boost-devel.x86_64 0:1.53.0-23.el7 will be installed
--> Processing Dependency: boost = 1.53.0-23.el7 for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_wserialization.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_wserialization-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_wave.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_wave-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_unit_test_framework.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_unit_test_framework-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_timer.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_timer-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_serialization.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_serialization-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_regex.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_random.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_random-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_python.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_python-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_prg_exec_monitor.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_prg_exec_monitor-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_tr1l.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_tr1l-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_tr1f.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_tr1f-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_tr1.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_tr1-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_c99l.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_c99l-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_c99f.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_c99f-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_c99.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_math_c99-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_locale-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_iostreams.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_iostreams-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_graph.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_graph-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_context.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_context-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_chrono.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_chrono-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
--> Processing Dependency: libboost_atomic-mt.so.1.53.0()(64bit) for package: boost-devel-1.53.0-23.el7.x86_64
---> Package opencv-devel.x86_64 0:2.4.5-3.el7 will be installed
---> Package snappy-devel.x86_64 0:1.1.0-3.el7 will be installed
--> Running transaction check
---> Package boost.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-atomic.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-chrono.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-context.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-graph.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-iostreams.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-locale.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-math.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-python.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-random.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-regex.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-serialization.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-test.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-timer.x86_64 0:1.53.0-23.el7 will be installed
---> Package boost-wave.x86_64 0:1.53.0-23.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================
Installing:
boost-devel x86_64 1.53.0-23.el7 base 7.0 M
opencv-devel x86_64 2.4.5-3.el7 base 447 k
snappy-devel x86_64 1.1.0-3.el7 base 14 k
Installing for dependencies:
boost x86_64 1.53.0-23.el7 base 32 k
boost-atomic x86_64 1.53.0-23.el7 base 34 k
boost-chrono x86_64 1.53.0-23.el7 base 43 k
boost-context x86_64 1.53.0-23.el7 base 35 k
boost-graph x86_64 1.53.0-23.el7 base 135 k
boost-iostreams x86_64 1.53.0-23.el7 base 60 k
boost-locale x86_64 1.53.0-23.el7 base 250 k
boost-math x86_64 1.53.0-23.el7 base 332 k
boost-python x86_64 1.53.0-23.el7 base 131 k
boost-random x86_64 1.53.0-23.el7 base 38 k
boost-regex x86_64 1.53.0-23.el7 base 294 k
boost-serialization x86_64 1.53.0-23.el7 base 169 k
boost-test x86_64 1.53.0-23.el7 base 225 k
boost-timer x86_64 1.53.0-23.el7 base 42 k
boost-wave x86_64 1.53.0-23.el7 base 211 k
Transaction Summary
=============================================================================================================================================================================
Install 3 Packages (+15 Dependent packages)
Total download size: 9.4 M
Installed size: 99 M
Is this ok [y/d/N]: y
Downloading packages:
(1/18): boost-1.53.0-23.el7.x86_64.rpm | 32 kB 00:00:00
(2/18): boost-atomic-1.53.0-23.el7.x86_64.rpm | 34 kB 00:00:00
(3/18): boost-chrono-1.53.0-23.el7.x86_64.rpm | 43 kB 00:00:00
(4/18): boost-context-1.53.0-23.el7.x86_64.rpm | 35 kB 00:00:00
(5/18): boost-graph-1.53.0-23.el7.x86_64.rpm | 135 kB 00:00:00
(6/18): boost-iostreams-1.53.0-23.el7.x86_64.rpm | 60 kB 00:00:00
(7/18): boost-locale-1.53.0-23.el7.x86_64.rpm | 250 kB 00:00:00
(8/18): boost-math-1.53.0-23.el7.x86_64.rpm | 332 kB 00:00:00
(9/18): boost-python-1.53.0-23.el7.x86_64.rpm | 131 kB 00:00:00
(10/18): boost-random-1.53.0-23.el7.x86_64.rpm | 38 kB 00:00:00
(11/18): boost-regex-1.53.0-23.el7.x86_64.rpm | 294 kB 00:00:00
(12/18): boost-serialization-1.53.0-23.el7.x86_64.rpm | 169 kB 00:00:01
(13/18): boost-test-1.53.0-23.el7.x86_64.rpm | 225 kB 00:00:00
(14/18): boost-timer-1.53.0-23.el7.x86_64.rpm | 42 kB 00:00:00
(15/18): boost-wave-1.53.0-23.el7.x86_64.rpm | 211 kB 00:00:00
(16/18): boost-devel-1.53.0-23.el7.x86_64.rpm | 7.0 MB 00:00:02
(17/18): snappy-devel-1.1.0-3.el7.x86_64.rpm | 14 kB 00:00:00
(18/18): opencv-devel-2.4.5-3.el7.x86_64.rpm | 447 kB 00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.3 MB/s | 9.4 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:
1:control-center-3.8.6-18.el7.x86_64 has missing requires of glx-utils
1:control-center-3.8.6-18.el7.x86_64 has missing requires of redhat-menus >= ('0', '1.8', None)
gnome-desktop3-3.8.4-4.el7.x86_64 has missing requires of redhat-menus
gnome-menus-3.8.1-4.el7.x86_64 has missing requires of redhat-menus
kde-workspace-4.10.5-21.el7.x86_64 has missing requires of libGLU.so.1()(64bit)
kdeartwork-screensavers-4.10.5-4.el7.x86_64 has missing requires of libGLU.so.1()(64bit)
6:kdelibs-4.10.5-6.el7.x86_64 has missing requires of redhat-menus
1:libreoffice-core-4.2.6.3-5.el7.x86_64 has missing requires of libGLU.so.1()(64bit)
1:libreoffice-ogltrans-4.2.6.3-5.el7.x86_64 has missing requires of libGLU.so.1()(64bit)
nautilus-3.8.2-10.el7.x86_64 has missing requires of redhat-menus
pcsc-lite-1.8.8-5.el7.x86_64 has missing requires of pcsc-ifd-handler
redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64 has missing requires of mesa-libGLU(x86-64)
Installing : boost-chrono-1.53.0-23.el7.x86_64 1/18
Installing : boost-regex-1.53.0-23.el7.x86_64 2/18
Installing : boost-graph-1.53.0-23.el7.x86_64 3/18
Installing : boost-timer-1.53.0-23.el7.x86_64 4/18
Installing : boost-wave-1.53.0-23.el7.x86_64 5/18
Installing : boost-locale-1.53.0-23.el7.x86_64 6/18
Installing : boost-context-1.53.0-23.el7.x86_64 7/18
Installing : boost-test-1.53.0-23.el7.x86_64 8/18
Installing : boost-iostreams-1.53.0-23.el7.x86_64 9/18
Installing : boost-atomic-1.53.0-23.el7.x86_64 10/18
Installing : boost-random-1.53.0-23.el7.x86_64 11/18
Installing : boost-serialization-1.53.0-23.el7.x86_64 12/18
Installing : boost-math-1.53.0-23.el7.x86_64 13/18
Installing : boost-python-1.53.0-23.el7.x86_64 14/18
Installing : boost-1.53.0-23.el7.x86_64 15/18
Installing : boost-devel-1.53.0-23.el7.x86_64 16/18
Installing : opencv-devel-2.4.5-3.el7.x86_64 17/18
Installing : snappy-devel-1.1.0-3.el7.x86_64 18/18
Verifying : snappy-devel-1.1.0-3.el7.x86_64 1/18
Verifying : boost-python-1.53.0-23.el7.x86_64 2/18
Verifying : boost-devel-1.53.0-23.el7.x86_64 3/18
Verifying : boost-timer-1.53.0-23.el7.x86_64 4/18
Verifying : boost-regex-1.53.0-23.el7.x86_64 5/18
Verifying : boost-chrono-1.53.0-23.el7.x86_64 6/18
Verifying : boost-wave-1.53.0-23.el7.x86_64 7/18
Verifying : boost-math-1.53.0-23.el7.x86_64 8/18
Verifying : boost-locale-1.53.0-23.el7.x86_64 9/18
Verifying : boost-1.53.0-23.el7.x86_64 10/18
Verifying : boost-serialization-1.53.0-23.el7.x86_64 11/18
Verifying : opencv-devel-2.4.5-3.el7.x86_64 12/18
Verifying : boost-random-1.53.0-23.el7.x86_64 13/18
Verifying : boost-atomic-1.53.0-23.el7.x86_64 14/18
Verifying : boost-iostreams-1.53.0-23.el7.x86_64 15/18
Verifying : boost-test-1.53.0-23.el7.x86_64 16/18
Verifying : boost-context-1.53.0-23.el7.x86_64 17/18
Verifying : boost-graph-1.53.0-23.el7.x86_64 18/18
Installed:
boost-devel.x86_64 0:1.53.0-23.el7 opencv-devel.x86_64 0:2.4.5-3.el7 snappy-devel.x86_64 0:1.1.0-3.el7
Dependency Installed:
boost.x86_64 0:1.53.0-23.el7 boost-atomic.x86_64 0:1.53.0-23.el7 boost-chrono.x86_64 0:1.53.0-23.el7 boost-context.x86_64 0:1.53.0-23.el7
boost-graph.x86_64 0:1.53.0-23.el7 boost-iostreams.x86_64 0:1.53.0-23.el7 boost-locale.x86_64 0:1.53.0-23.el7 boost-math.x86_64 0:1.53.0-23.el7
boost-python.x86_64 0:1.53.0-23.el7 boost-random.x86_64 0:1.53.0-23.el7 boost-regex.x86_64 0:1.53.0-23.el7 boost-serialization.x86_64 0:1.53.0-23.el7
boost-test.x86_64 0:1.53.0-23.el7 boost-timer.x86_64 0:1.53.0-23.el7 boost-wave.x86_64 0:1.53.0-23.el7
Complete!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment