CUDA Toolkit 9.1 visit https://developer.nvidia.com/cuda-downloads and download the correct deb file then:
|
sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub sudo apt-get update sudo apt-get install cuda |
Basic Linear Algebra Subprograms (BLAS)
|
sudo apt-get install libatlas-base-dev libatlas-dev |
Protocol Buffers
|
sudo apt-get install protobuf-compiler libprotobuf-dev libprotoc-dev |
or you can install protobuf v3 it from source:
|
export PROTOBUF_ROOT=~/.softwares/protobuf git clone https://github.com/google/protobuf.git $PROTOBUF_ROOT -b '3.2.x' cd $PROTOBUF_ROOT ./autogen.sh ./configure make "-j$(nproc)" make"-j$(nproc)" install DESTDIR=~ cd python python setup.py install --cpp_implementation --user |
Lightning Memory-Mapped Database
|
sudo apt-get install liblmdb-dev |
LevelDB
|
sudo apt-get install libleveldb-dev |
Hdf5
|
sudo apt-get install libhdf5-dev libhdf5-cpp-11 libhdf5-openmpi-dev libhdf5-mpi-dev libhdf5-10 |
gflags
|
git clone https://github.com/gflags/gflags cd gflags && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
glog
|
git clone https://github.com/google/glog cd glog && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Snappy
|
git clone https://github.com/google/snappy cd snappy && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Caffe
|
git clone https://github.com/BVLC/caffe cd caffe && mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |