First, Cpu-only installation method
Detailed reference: http://hanzratech.in/2015/07/27/installing-caffe-on-ubuntu.html
The approximate steps are as follows:
1. Install a variety of dependencies and environments (no GPU required, can skip Cuda installation)
2. Install, compile Caffe (modify Makefile.config file)
In the process of compiling and testing the Caffe, it is possible to constantly suggest that some module is missing and that the module can be installed as prompted.
Second, GPU Support installation method
1. Reference: http://caffe.berkeleyvision.org/installation.html, installation dependent and environment.
The "Cuda driver version isinsufficient for Cudaruntime" error occurred during installation because the Cuda version of the installation does not match the graphics driver version, the best way is to download the appropriate driver version from the NVIDIA website and reinstall it. Note the driver version installed by the interrupt "sudo apt-get install" is not necessarily up-to-date and does not necessarily match the Cuda version.
2. Install and compile Caffe
From GitHub above clone Caffe project to local, modify makefile.config and compile test according to GitHub instructions Caffe