ubuntu Install packages
Because if you install the source package once, and then you compile the source for once, it will cause some problems.
1. For caffe:
apt-get libatlas-dev (libprotobuf-dev) libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev (libhdf5-serial-dev) libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler.
self-compiled protobuf2.5, hdf5.1.8 /usr/local/
To run make runtest, error of "locate shared lib libcudrt.6.5 is not found."
solution: export LD_LIBRARY_PATH=/usr/local/cuda/:$LD_LIBRARY_PATH