@@ -93,15 +93,14 @@ This section shows how to install CUDA® 11 (TensorFlow >= 2.4.0) on Ubuntu
93
93
Caution: [ Secure Boot] ( https://wiki.ubuntu.com/UEFI/SecureBoot ) {:.external}
94
94
complicates installation of the NVIDIA driver and is beyond the scope of these instructions.
95
95
96
-
97
- #### Ubuntu 18.04 (CUDA 11.0)
96
+ #### Ubuntu 18.04 (CUDA 11.2)
98
97
99
98
<pre class =" prettyprint lang-bsh " >
100
99
# Add NVIDIA package repositories
101
- < code class = " devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin</ code >
102
- < code class = " devsite-terminal " >sudo mv cuda- ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600</ code >
103
- <code class =" devsite-terminal " >sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub </code >
104
- <code class =" devsite-terminal " >sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /" </code >
100
+ # Note: For Ubuntu version other than 18.04 or CPU arch other than x86,
101
+ # replace ' ubuntu1804' and/or 'x86_64' as needed in the following URL.
102
+ <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb </code >
103
+ <code class =" devsite-terminal " >sudo dpkg -i cuda-keyring_1.0-1_all.deb </code >
105
104
<code class =" devsite-terminal " >sudo apt-get update</code >
106
105
107
106
# Install development and runtime libraries (~4GB)
@@ -114,19 +113,18 @@ complicates installation of the NVIDIA driver and is beyond the scope of these i
114
113
libnvinfer-plugin8=8.2.4-1+cuda11.4 \
115
114
libnvinfer-plugin-dev=8.2.4-1+cuda11.4
116
115
</code >
116
+
117
117
# Reboot. Check that GPUs are visible using the command: nvidia-smi
118
118
</pre >
119
119
120
- #### Ubuntu 16.04 (CUDA 11.0 )
120
+ #### Ubuntu 16.04 (CUDA 11.2 )
121
121
122
122
<pre class =" prettyprint lang-bsh " >
123
123
# Add NVIDIA package repositories
124
- # Add HTTPS support for apt-key
125
- <code class =" devsite-terminal " >sudo apt-get install gnupg-curl</code >
126
- <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-ubuntu1604.pin</code >
127
- <code class =" devsite-terminal " >sudo mv cuda-ubuntu1604.pin /etc/apt/preferences.d/cuda-repository-pin-600</code >
128
- <code class =" devsite-terminal " >sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub</code >
129
- <code class =" devsite-terminal " >sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/ /"</code >
124
+ <code class =" devsite-terminal " >sudo apt-get update</code >
125
+ <code class =" devsite-terminal " >sudo apt-get install -y <apt-transport-https /code >
126
+ <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-keyring_1.0-1_all.deb</code >
127
+ <code class =" devsite-terminal " >sudo dpkg -i cuda-keyring_1.0-1_all.deb</code >
130
128
<code class =" devsite-terminal " >sudo apt-get update</code >
131
129
132
130
# Install development and runtime libraries (~4GB)
0 commit comments