$ nvcc -V Command 'nvcc' not found

Whole Internet is spreaded with CUDA installation problems since 2013, both on Windows and Linux, maybe your left-hand programmers must go on pension? 7 years your drivers and programs is buggy you can’t write normal drivers and programs like Microsoft 20 years can’t write a normal browser. I have spend on this installation 3 days, first I have failed with Windows 10, then I go to Ubuntu, failed with run package installation, reinstalled Ubuntu, and finally go with deb package which gives me the same error like installation with run file.
So, my issue is
$ nvcc -V
Command ‘nvcc’ not found

I’m using Ubuntu 18.04.4 LTS, I need CUDA 10.1 so I have Installed it using this instructions → https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal
and these instructions → Installation Guide Linux :: CUDA Toolkit Documentation

  1. sudo dpkg -i cuda-repo-ubuntu1804-10-1-local-10.1.105-418.39_1.0-1_amd64.deb
  2. sudo apt-key add /var/cuda-repo-10-1-local-10.1.105-418.39/7fa2af80.pub
    which gives me OK
  3. sudo apt-get update
  4. sudo apt-get install cuda-toolkit-10-1
    nvcc -V is not worked so I have tried these steps, and after each step I have checked nvcc -V
  5. export PATH=/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1${PATH:+:${PATH}}
  6. export LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  7. sudo apt-get install g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev
  8. I have restart my PC, then tryed nvcc -V, then I have done steps 3-7, again restart, nothing helped!
    SO, ANY SUGGESTION???
    If you don’t help me to solve my problem in 72 hours, then my next product will not be from Nvidia. And my client product too, and I can make a video and upload in youtube showhing why nvidia is not the best choise, so I’m waiting.

72 hours have passed, so nvidia products goes to recycle bin with nvidia programmers.

1 Like