Update README.md
Browse files
README.md
CHANGED
@@ -1,15 +1,23 @@
|
|
1 |
# Remove all previous cuda version:
|
2 |
```sudo apt-get --purge remove "*cuda*" "*cublas*" "*cufft*" "*cufile*" "*curand*" "*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*" ```
|
|
|
3 |
```sudo apt-get --purge remove "*nvidia*" "libxnvctrl*"```
|
|
|
4 |
```sudo apt-get autoremove```
|
5 |
|
6 |
# Install cuda 12.3:
|
7 |
```wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin```
|
|
|
8 |
```sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600```
|
|
|
9 |
```wget https://developer.download.nvidia.com/compute/cuda/12.3.2/local_installers/cuda-repo-ubuntu2004-12-3-local_12.3.2-545.23.08-1_amd64.deb```
|
|
|
10 |
```sudo dpkg -i cuda-repo-ubuntu2004-12-3-local_12.3.2-545.23.08-1_amd64.deb```
|
|
|
11 |
```sudo cp /var/cuda-repo-ubuntu2004-12-3-local/cuda-*-keyring.gpg /usr/share/keyrings/```
|
|
|
12 |
```sudo apt-get update```
|
|
|
13 |
```sudo apt-get -y install cuda-toolkit-12-3```
|
14 |
|
15 |
# Packages
|
|
|
1 |
# Remove all previous cuda version:
|
2 |
```sudo apt-get --purge remove "*cuda*" "*cublas*" "*cufft*" "*cufile*" "*curand*" "*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*" ```
|
3 |
+
|
4 |
```sudo apt-get --purge remove "*nvidia*" "libxnvctrl*"```
|
5 |
+
|
6 |
```sudo apt-get autoremove```
|
7 |
|
8 |
# Install cuda 12.3:
|
9 |
```wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin```
|
10 |
+
|
11 |
```sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600```
|
12 |
+
|
13 |
```wget https://developer.download.nvidia.com/compute/cuda/12.3.2/local_installers/cuda-repo-ubuntu2004-12-3-local_12.3.2-545.23.08-1_amd64.deb```
|
14 |
+
|
15 |
```sudo dpkg -i cuda-repo-ubuntu2004-12-3-local_12.3.2-545.23.08-1_amd64.deb```
|
16 |
+
|
17 |
```sudo cp /var/cuda-repo-ubuntu2004-12-3-local/cuda-*-keyring.gpg /usr/share/keyrings/```
|
18 |
+
|
19 |
```sudo apt-get update```
|
20 |
+
|
21 |
```sudo apt-get -y install cuda-toolkit-12-3```
|
22 |
|
23 |
# Packages
|