teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

7

ログ追記

2020/09/12 09:43

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -62,5 +62,192 @@
62
62
 
63
63
  N: 追加レコードが 13 件あります。表示するには '-a' スイッチを付けてください。
64
64
  ```
65
+ -a オプションで全部表示
66
+ ```bash
67
+ $ apt -a show cuda
68
+ Package: cuda
69
+ Version: 11.0.3-1
70
+ Priority: optional
71
+ Section: multiverse/devel
72
+ Maintainer: cudatools <cudatools@nvidia.com>
73
+ Installed-Size: 7,168 B
74
+ Depends: cuda-11-0 (>= 11.0.3)
75
+ Download-Size: 2,392 B
76
+ APT-Manual-Installed: yes
77
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
78
+ Description: CUDA meta-package
79
+ Meta-package containing all the available packages required for native CUDA
80
+ development. Contains the toolkit, samples, driver and documentation.
65
81
 
82
+ Package: cuda
83
+ Version: 11.0.2-1
84
+ Priority: optional
85
+ Section: multiverse/devel
86
+ Maintainer: cudatools <cudatools@nvidia.com>
87
+ Installed-Size: 7,168 B
88
+ Depends: cuda-11-0 (>= 11.0.2)
89
+ Download-Size: 2,392 B
90
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
91
+ Description: CUDA meta-package
92
+ Meta-package containing all the available packages required for native CUDA
93
+ development. Contains the toolkit, samples, driver and documentation.
94
+
95
+ Package: cuda
96
+ Version: 11.0.1-1
97
+ Priority: optional
98
+ Section: multiverse/devel
99
+ Maintainer: cudatools <cudatools@nvidia.com>
100
+ Installed-Size: 7,168 B
101
+ Depends: cuda-11-0 (>= 11.0.1)
102
+ Download-Size: 2,394 B
103
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
104
+ Description: CUDA meta-package
105
+ Meta-package containing all the available packages required for native CUDA
106
+ development. Contains the toolkit, samples, driver and documentation.
107
+
108
+ Package: cuda
109
+ Version: 10.2.89-1
110
+ Priority: optional
111
+ Section: multiverse/devel
112
+ Maintainer: cudatools <cudatools@nvidia.com>
113
+ Installed-Size: 25.6 kB
114
+ Depends: cuda-10-2 (>= 10.2.89)
115
+ Download-Size: 2,514 B
116
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
117
+ Description: CUDA meta-package
118
+ Meta-package containing all the available packages required for native CUDA
119
+ development. Contains the toolkit, samples, driver and documentation.
120
+
121
+ Package: cuda
122
+ Version: 10.1.243-1
123
+ Priority: optional
124
+ Section: multiverse/devel
125
+ Maintainer: cudatools <cudatools@nvidia.com>
126
+ Installed-Size: 25.6 kB
127
+ Depends: cuda-10-1 (>= 10.1.243)
128
+ Download-Size: 2,510 B
129
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
130
+ Description: CUDA meta-package
131
+ Meta-package containing all the available packages required for native CUDA
132
+ development. Contains the toolkit, samples, driver and documentation.
133
+
134
+ Package: cuda
135
+ Version: 10.1.168-1
136
+ Priority: optional
137
+ Section: multiverse/devel
138
+ Maintainer: cudatools <cudatools@nvidia.com>
139
+ Installed-Size: 25.6 kB
140
+ Depends: cuda-10-1 (>= 10.1.168)
141
+ Download-Size: 2,512 B
142
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
143
+ Description: CUDA meta-package
144
+ Meta-package containing all the available packages required for native CUDA
145
+ development. Contains the toolkit, samples, driver and documentation.
146
+
147
+ Package: cuda
148
+ Version: 10.1.105-1
149
+ Priority: optional
150
+ Section: multiverse/devel
151
+ Maintainer: cudatools <cudatools@nvidia.com>
152
+ Installed-Size: 25.6 kB
153
+ Depends: cuda-10-1 (>= 10.1.105)
154
+ Download-Size: 2,512 B
155
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
156
+ Description: CUDA meta-package
157
+ Meta-package containing all the available packages required for native CUDA
158
+ development. Contains the toolkit, samples, driver and documentation.
159
+
160
+ Package: cuda
161
+ Version: 10.0.130-1
162
+ Priority: optional
163
+ Section: multiverse/devel
164
+ Maintainer: cudatools <cudatools@nvidia.com>
165
+ Installed-Size: 25.6 kB
166
+ Depends: cuda-10-0 (>= 10.0.130)
167
+ Download-Size: 2,514 B
168
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
169
+ Description: CUDA meta-package
170
+ Meta-package containing all the available packages required for native CUDA
171
+ development. Contains the toolkit, samples, driver and documentation.
172
+
173
+ Package: cuda
174
+ Version: 9.2.148-1
175
+ Priority: optional
176
+ Section: multiverse/devel
177
+ Maintainer: cudatools <cudatools@nvidia.com>
178
+ Installed-Size: 25.6 kB
179
+ Depends: cuda-9-2 (>= 9.2.148)
180
+ Download-Size: 2,502 B
181
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
182
+ Description: CUDA meta-package
183
+ Meta-package containing all the available packages required for native CUDA
184
+ development. Contains the toolkit, samples, driver and documentation.
185
+
186
+ Package: cuda
187
+ Version: 9.2.88-1
188
+ Priority: optional
189
+ Section: multiverse/devel
190
+ Maintainer: cudatools <cudatools@nvidia.com>
191
+ Installed-Size: 25.6 kB
192
+ Depends: cuda-9-2 (>= 9.2.88)
193
+ Download-Size: 2,508 B
194
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
195
+ Description: CUDA meta-package
196
+ Meta-package containing all the available packages required for native CUDA
197
+ development. Contains the toolkit, samples, driver and documentation.
198
+
199
+ Package: cuda
200
+ Version: 9.1.85-1
201
+ Priority: optional
202
+ Section: multiverse/devel
203
+ Maintainer: cudatools <cudatools@nvidia.com>
204
+ Installed-Size: 25.6 kB
205
+ Depends: cuda-9-1 (>= 9.1.85)
206
+ Download-Size: 2,512 B
207
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
208
+ Description: CUDA meta-package
209
+ Meta-package containing all the available packages required for native CUDA
210
+ development. Contains the toolkit, samples, driver and documentation.
211
+
212
+ Package: cuda
213
+ Version: 9.0.176-1
214
+ Priority: optional
215
+ Section: multiverse/devel
216
+ Maintainer: cudatools <cudatools@nvidia.com>
217
+ Installed-Size: 25.6 kB
218
+ Depends: cuda-9-0 (>= 9.0.176)
219
+ Download-Size: 2,504 B
220
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
221
+ Description: CUDA meta-package
222
+ Meta-package containing all the available packages required for native CUDA
223
+ development. Contains the toolkit, samples, driver and documentation.
224
+
225
+ Package: cuda
226
+ Version: 8.0.61-1
227
+ Priority: optional
228
+ Section: multiverse/devel
229
+ Maintainer: cudatools <cudatools@nvidia.com>
230
+ Installed-Size: 25.6 kB
231
+ Depends: cuda-8-0 (>= 8.0.61)
232
+ Download-Size: 2,510 B
233
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
234
+ Description: CUDA meta-package
235
+ Meta-package containing all the available packages required for native CUDA
236
+ development. Contains the toolkit, samples, driver and documentation.
237
+
238
+ Package: cuda
239
+ Version: 8.0.44-1
240
+ Priority: optional
241
+ Section: multiverse/devel
242
+ Maintainer: cudatools <cudatools@nvidia.com>
243
+ Installed-Size: 25.6 kB
244
+ Depends: cuda-8-0 (>= 8.0.44)
245
+ Download-Size: 2,504 B
246
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
247
+ Description: CUDA meta-package
248
+ Meta-package containing all the available packages required for native CUDA
249
+ development. Contains the toolkit, samples, driver and documentation.
250
+
251
+ ```
252
+
66
253
  宜しくお願いいたします。

6

ログ追記

2020/09/12 09:43

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -25,15 +25,42 @@
25
25
  $ cat /usr/local/cuda/version.txt
26
26
  CUDA Version 11.0.228
27
27
  ```
28
+
28
29
  ```bash
29
30
  $ ls -ld /usr/local/cuda*
30
31
  lrwxrwxrwx 1 root root 9 9月 12 18:30 /usr/local/cuda -> cuda-11.0
31
32
  drwxr-xr-x 15 root root 4096 9月 12 18:28 /usr/local/cuda-11.0
32
33
  ```
34
+
33
35
  ```bash
34
36
  $ ll /var/ | grep cuda
35
37
  drwxr-xr-x 2 root root 20480 9月 12 15:14 cuda-repo-10-2-local-10.2.89-440.33.01/
36
38
  drwxr-xr-x 2 root root 4096 9月 12 08:22 cuda-repo-ubuntu1604-10-2-local/
37
39
  drwxr-xr-x 2 root root 20480 9月 11 23:44 cuda-repo-ubuntu1604-11-0-local/
38
40
  ```
41
+
42
+ dpkg はログなし
43
+ ```bash
44
+ $ dpkg -l | grep nvidia-driver | grep -E ^ii
45
+ ```
46
+
47
+ ```bash
48
+ $ apt show cuda
49
+ Package: cuda
50
+ Version: 11.0.3-1
51
+ Priority: optional
52
+ Section: multiverse/devel
53
+ Maintainer: cudatools <cudatools@nvidia.com>
54
+ Installed-Size: 7,168 B
55
+ Depends: cuda-11-0 (>= 11.0.3)
56
+ Download-Size: 2,392 B
57
+ APT-Manual-Installed: yes
58
+ APT-Sources: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages
59
+ Description: CUDA meta-package
60
+ Meta-package containing all the available packages required for native CUDA
61
+ development. Contains the toolkit, samples, driver and documentation.
62
+
63
+ N: 追加レコードが 13 件あります。表示するには '-a' スイッチを付けてください。
64
+ ```
65
+
39
66
  宜しくお願いいたします。

5

ログの修正

2020/09/12 09:40

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -27,7 +27,8 @@
27
27
  ```
28
28
  ```bash
29
29
  $ ls -ld /usr/local/cuda*
30
- /usr/local/cuda -> cuda-11.0
30
+ lrwxrwxrwx 1 root root 9 9月 12 18:30 /usr/local/cuda -> cuda-11.0
31
+ drwxr-xr-x 15 root root 4096 9月 12 18:28 /usr/local/cuda-11.0
31
32
  ```
32
33
  ```bash
33
34
  $ ll /var/ | grep cuda

4

ログの修正

2020/09/12 09:35

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -4,11 +4,16 @@
4
4
  ```bash
5
5
  sudo apt purge cuda*
6
6
  sudo apt purge nvidia-cuda-*
7
+ sudo apt purge *nvidia*
7
8
  sudo apt purge libcuda*
9
+ sudo apt purge *nsight*
8
10
  sudo apt-get --purge remove nvidia-*
11
+ sudo apt-get --purge remove *nvidia*
12
+ sudo apt-get --purge remove *nsight*
9
13
  sudo apt-get --purge remove cuda-*
10
14
  sudo apt-get --purge remove cuda
11
15
  sudo apt autoremove
16
+ # sudo rm -rf /var/cuda-repo-*** これらも削除か?
12
17
  ```
13
18
 
14
19
  インストールした方法

3

ログの追記

2020/09/12 09:33

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -19,8 +19,15 @@
19
19
  ```bash
20
20
  $ cat /usr/local/cuda/version.txt
21
21
  CUDA Version 11.0.228
22
-
22
+ ```
23
+ ```bash
23
24
  $ ls -ld /usr/local/cuda*
24
25
  /usr/local/cuda -> cuda-11.0
25
26
  ```
27
+ ```bash
28
+ $ ll /var/ | grep cuda
29
+ drwxr-xr-x 2 root root 20480 9月 12 15:14 cuda-repo-10-2-local-10.2.89-440.33.01/
30
+ drwxr-xr-x 2 root root 4096 9月 12 08:22 cuda-repo-ubuntu1604-10-2-local/
31
+ drwxr-xr-x 2 root root 20480 9月 11 23:44 cuda-repo-ubuntu1604-11-0-local/
32
+ ```
26
33
  宜しくお願いいたします。

2

結果を追加

2020/09/12 09:31

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -19,5 +19,8 @@
19
19
  ```bash
20
20
  $ cat /usr/local/cuda/version.txt
21
21
  CUDA Version 11.0.228
22
+
23
+ $ ls -ld /usr/local/cuda*
24
+ /usr/local/cuda -> cuda-11.0
22
25
  ```
23
26
  宜しくお願いいたします。

1

加筆

2020/09/12 00:28

投稿

teefpc
teefpc

スコア112

title CHANGED
File without changes
body CHANGED
@@ -15,4 +15,9 @@
15
15
  [CUDA Toolkit 10.2 Downloadl
16
16
  ](https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal)
17
17
 
18
+ インストール結果は、
19
+ ```bash
20
+ $ cat /usr/local/cuda/version.txt
21
+ CUDA Version 11.0.228
22
+ ```
18
23
  宜しくお願いいたします。