ubuntu14.04 Caffe Environment Configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.