Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
# Remove all previous cuda version:
|
2 |
-
```
|
|
|
3 |
|
4 |
sudo apt-get --purge remove "*nvidia*" "libxnvctrl*"
|
5 |
|
6 |
-
sudo apt-get autoremove
|
|
|
7 |
|
8 |
# Install cuda 12.3:
|
9 |
-
```
|
|
|
10 |
|
11 |
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
|
12 |
|
@@ -18,12 +21,13 @@ sudo cp /var/cuda-repo-ubuntu2004-12-3-local/cuda-*-keyring.gpg /usr/share/keyri
|
|
18 |
|
19 |
sudo apt-get update
|
20 |
|
21 |
-
sudo apt-get -y install cuda-toolkit-12-3
|
|
|
22 |
|
23 |
# Packages
|
24 |
dpkg info : /var/lib/dpkg/info
|
25 |
apt deb package : /var/cache/apt/archives
|
26 |
-
|
27 |
----- LOG -------
|
28 |
(base) linhdang@linhdang-System-Product-Name:~/workspace/vunt$ sudo apt-get -y install cuda-toolkit-12-3 100 ↵
|
29 |
Reading package lists... Done
|
@@ -863,4 +867,4 @@ Processing triggers for dbus (1.12.16-2ubuntu2.3) ...
|
|
863 |
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
|
864 |
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
|
865 |
update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
|
866 |
-
|
|
|
1 |
# Remove all previous cuda version:
|
2 |
+
```
|
3 |
+
sudo apt-get --purge remove "*cuda*" "*cublas*" "*cufft*" "*cufile*" "*curand*" "*cusolver*" "*cusparse*" "*gds-tools*" "*npp*" "*nvjpeg*" "nsight*" "*nvvm*"
|
4 |
|
5 |
sudo apt-get --purge remove "*nvidia*" "libxnvctrl*"
|
6 |
|
7 |
+
sudo apt-get autoremove
|
8 |
+
```
|
9 |
|
10 |
# Install cuda 12.3:
|
11 |
+
```
|
12 |
+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
|
13 |
|
14 |
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
|
15 |
|
|
|
21 |
|
22 |
sudo apt-get update
|
23 |
|
24 |
+
sudo apt-get -y install cuda-toolkit-12-3
|
25 |
+
```
|
26 |
|
27 |
# Packages
|
28 |
dpkg info : /var/lib/dpkg/info
|
29 |
apt deb package : /var/cache/apt/archives
|
30 |
+
`
|
31 |
----- LOG -------
|
32 |
(base) linhdang@linhdang-System-Product-Name:~/workspace/vunt$ sudo apt-get -y install cuda-toolkit-12-3 100 ↵
|
33 |
Reading package lists... Done
|
|
|
867 |
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
|
868 |
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
|
869 |
update-initramfs: Generating /boot/initrd.img-5.15.0-97-generic
|
870 |
+
`
|