The first contact with the Linux,caffe environment was configured for several days.
First, install ubuntu14.04 with Windows 7 dual system
Second, verification system, download driver, pre-installation preparation. 123 in the reference link
Third, install the graphics driver:
Enter the following command to add the drive source
sudo add-apt-repository ppa:xorg-edgers/ppasudo apt-get update
Installs version 340 driver (CUDA 6.5.14 currently only supports version 340 driver, 343, 346 version of the driver is not supported temporarily)
Install nvidia-340
After the installation is complete, continue to install the following packages (otherwise you will get an error when running sample)
Install nvidia-340-UVM
Reboot after installation is complete.
Iv. installation of Cuda
After installing the Nvidia driver, the next step is to install cuda6.5. Switch to the directory where the cuda6.5 files are located, suggest and drive files together, lest trouble.
installation command:sudo sh./cuda_6.5.14_linux_64.run
Note, do not go all the way yes, observe, there is an option to ask whether to install video driver, do not install.
After installation, it is generally suggested that some libraries are missing. Install the necessary libraries below:
sudo apt-get install Freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev LIBGL1-MESA-GLX Libglu1-mesa Libglu1-mesa-dev
Since then, the cuda6.5 should be installed. You can go back to the graphical interface to continue with the following operations:sudo start lightdm
The remaining steps refer to links http://www.cnblogs.com/fische/p/4090671.html
V. Installation of opencv2.4.9 (see method Two in the link)
ubuntu14.04 Caffe Environment Configuration