Hi Robert,
I have read the following link
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html which I think you are referring to.
It mentions about pre-installation actions:
which include
1-Verify You Have a CUDA-Capable GPU, I have already done it.
$ lspci | grep -i nvidia
03:00.0 VGA compatible controller: NVIDIA Corporation GK110GL [Quadro K5200] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GK110 HDMI Audio (rev a1)
2-determining supported version:
$ uname -m && cat /etc/*release
x86_64
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
4-Verify the System Has gcc Installed
$ gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
5-Verify the System has the Correct Kernel Headers and Development Packages Installed
$ sudo apt-get install linux-headers-$(uname -r)
[sudo] password for amin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.15.0-29-generic is already the newest version (4.15.0-29.31).
0 to upgrade, 0 to newly install, 0 to remove and 537 not to upgrade.
For section of 2.5. Choose an Installation Method, I have chosen distribution specific using .deb
I have downloaded the CUDA:
~/NVIDIA_CUDA_installation$ ls
cuda_10.1.243_418.87.00_linux.run
cuda-repo-ubuntu1804-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb
Using Package Manager Installation, I have followed Ubuntu section:
1-Install repository meta-data
which suggests:
$ sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb
and I have done:
sudo dpkg -i cuda-repo-ubuntu1804-10-1-local-10.1.243-418.87.00_1.0-1_amd64.deb
2-Installing the CUDA public GPG key
which suggests:
$ sudo apt-key add /var/cuda-repo-<version>/7fa2af80.pub
and I have done:
$ sudo apt-key add /var/cuda-repo-10-1-local-10.1.243-418.87.00/7fa2af80.pub
and then Update the Apt repository cache
which suggests and I have done
sudo apt-get update
and finally installation which suggests to do :
$ sudo apt-get install cuda
and I have done:
sudo apt-get -y install cuda
And the installation has finished successfully without error.
In section 7.2.3. Verify the Installation and subsection 7.2.3.1. Verify the Driver Version
it suggests:
$ cat /proc/driver/nvidia/version
but when I run I get error:
cat: /proc/driver/nvidia/version: No such file or directory
in fact nvidia folder has not been created in driver folder.
If I missed any step please let me know.
Your help is appreciated.
I am working for Gunnebo Entrance Control and this is for training some model to be used in Jetson Nano.
and we are going to use 16000 Jetson Nano a year depending on this.
Thanks
amin