Add packages installation command for CentOS/RHEL
authorKai Li <kaili_kloud@163.com>
Wed, 26 Mar 2014 02:53:13 +0000 (10:53 +0800)
committerKai Li <kaili_kloud@163.com>
Wed, 26 Mar 2014 02:53:13 +0000 (10:53 +0800)
docs/installation.md

index 04c57b8..db9f677 100644 (file)
@@ -45,7 +45,11 @@ You will also need other packages, most of which can be installed via apt-get us
 
     sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev
 
-The only exception being the google logging library, which does not exist in the Ubuntu 12.04 repository. To install it, do:
+On CentOS or RHEL, you can install via yum using:
+
+    sudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel 
+
+The only exception being the google logging library, which does not exist in the Ubuntu 12.04 or CentOS/RHEL repository. To install it, do:
 
     wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz
     tar zxvf glog-0.3.3.tar.gz
@@ -62,7 +66,7 @@ After setting all the prerequisites, you should modify the `Makefile.config` fil
 
 ## Compilation
 
-After installing the prerequisites, simply do `make all` to compile Caffe. If you would like to compile the Python and Matlab wrappers, do
+After installing the prerequisites, simply do `make all -j10` in which 10 is the number of parallel compilation threads to compile Caffe. If you would like to compile the Python and Matlab wrappers, do
 
     make pycaffe
     make matcaffe