install cuda 8 and cudnn 5 1 with correct procedure in linuxmint and ubantu

Опубликовано: 22 Апрель 2026
на канале: RANDOM NEURAL MONK
894
4

compile cuda samples visit this site

https://www.pugetsystems.com/labs/hpc...


for creating custum os iso go to this site with all drivers software installed

to remove a directory in root use the command

$ rm -r directory folder name

   • Install Pinguy Builder and how to make cus...  

for cuda 8 and cudnn5.1 correct installation go to this site
https://github.com/09rohanchopra/kera...

   • Installing CUDA, Tensorflow and Keras - De...  
after istallation

$ gedit ~/.bashrc
paste the commands below and continue
and save it by
$ source ~/.bashrc
Make sure that your NVIDIA GPU is properly configured beforehand. nvcc should be in the PATH. If not, something like this should do the job:
https://github.com/philipperemy/yolo-...

export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}

export PATH=/usr/local/cuda-8.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH

Let's now compile darknet with GPU support!


in ubantu 18.04 or 16.04 or 17.04 or 17.10 this error shows
do the below

*****************************************************************

error -- unsupported GNU version! gcc versions later than 6 are not supported!
******************************************************************
For CUDA 9:

sudo apt install gcc-6 g++-6

sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-6 /usr/local/cuda/bin/g++


For CUDA 8:

sudo apt install gcc-5 g++-5

sudo ln -s /usr/bin/gcc-5 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-5 /usr/local/cuda/bin/g++

For CUDA7.5 these lines work:

sudo ln -s /usr/bin/gcc-4.9 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-4.9 /usr/local/cuda/bin/g++

for further clarfication on above error visit this site

https://stackoverflow.com/questions/6...