Ubuntu14.04 64-bit system installation Cuda 6.5

Source: Internet
Author: User

1, first need to uninstall the system comes with the NVIDIA-related driver: $ sudo apt-get –purge remove nvidia-GLX Nvidia-GLX-New
$ sudo apt - Get –purge remove nvidia-settings nvidia-kernel -Common
2, after the original drive deleted, also need to add Ubuntu integrated open source driver blacklist, that is, modify the/etc/modprobe.d/blacklist.conf file: sudo gedit /etc/modprobe. D / blacklist . conf
Add the following two lines to the file:
Blacklist nouveau
Options Nouveau modeset=0
3, in order to be able to compile Cuda provides examples, but also need to install the following package: sudo apt-get  install FREEGLUT3 set up a soft link after installation.sudo ln-s/usr/lib/x86_64-linux-gnu/libglut.so.3/usr/lib/libglut.so
4. After that, you can install the CUDA6.5 run file : https://developer.nvidia.com/cuda-downloads, select Run File download.  ./*.run installation prompt to run step by step 5, configure environment variables
for Ubuntu 8.10 later version, export Ld_library_path in/etc/profile no longer applicable, you need to modify the/etc/ld.so.conf add shared library path, one line, for reference: http://blog.163.com/thinki_cao/blog/static/83944875201302713822395/ for 32-bit system additions:/usr/local/cuda-5.0/libfor 64-bit system additions: (one line)/usr/local/cuda-5.0/lib64/libYou will need to make the modified path effective after adding it, this method does not need to be restarted:sudo ldconfig
6. Install the package required to compile the sample
sudo   apt-get  install   Libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev Libgflags-dev Libgoogle-glog-dev Liblmdb-dev Protobuf-compiler
7. Compiling Make-j4 8. The successful execution of the program compiled in sample indicates successful installation.
Main references:http://www.cnblogs.com/platero/p/3993877.htmlhttp://blog.163.com/thinki_cao/blog/static/83944875201303125444265/

Ubuntu14.04 64-bit system installation Cuda 6.5

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.