Step 1: get the suitable cuda repo from https://developer.nvidia.com/cuda-downloads
in this case, cuda for ubuntu 14.04 is fetched using below command:
>> wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb
Step 2: get cuda and install:
>> sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb
Step 3: install cuda tookit
>> sudo apt-get install cuda
When you are done with installation, you should set the Cuda environment variable. It is better to place below commands into your .bashrc file in your home director
export CUDA_HOME=/usr/local/cuda-7.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
export PATH
---
Cách cài đặt Cuda trên ubuntu 14.04. Theo từng bước như ở trên.
in this case, cuda for ubuntu 14.04 is fetched using below command:
>> wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb
Step 2: get cuda and install:
>> sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb
Step 3: install cuda tookit
>> sudo apt-get install cuda
When you are done with installation, you should set the Cuda environment variable. It is better to place below commands into your .bashrc file in your home director
export CUDA_HOME=/usr/local/cuda-7.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
export PATH
---
Cách cài đặt Cuda trên ubuntu 14.04. Theo từng bước như ở trên.
No comments:
Post a Comment