Skip to content

Commit 182dca0

Browse files
authored
Update build.md with CUDA Ubuntu 23.10 fix
1 parent d0ac011 commit 182dca0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/source/build.md

+18
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,24 @@ sudo add-apt-repository 'deb https://developer.download.nvidia.com/compute/cuda/
168168
sudo apt-get update
169169
sudo apt-get -y install cuda
170170
```
171+
If you are on Ubuntu 23.10, there is a CUDA install problem. This is the fix:
172+
173+
The libtinfo5 package isn't available in Ubuntu 23.10's default repositories yet. We can install it by adding the universe repo for Ubuntu 23.04 (Lunar Lobster).
174+
175+
Open a terminal window and run:
176+
```
177+
sudo nano /etc/apt/sources.list
178+
```
179+
Add this line (adds the Ubuntu 23.04 aka "Lunar Lobster" universe repository to apt):
180+
```
181+
deb http://archive.ubuntu.com/ubuntu/ lunar universe
182+
```
183+
Save and exit, then run:
184+
```
185+
sudo apt update
186+
```
187+
...and now the install command for CUDA should work, automatically downloading and installing libtinfo5 while installing CUDA
188+
171189
I did clone the CUDA samples repo and build deviceQuery which will be a quick test to make sure your GPU is recognized
172190
```
173191
git clone https://github.com/nvidia/cuda-samples

0 commit comments

Comments
 (0)