@@ -151,10 +151,18 @@ LinuxかMacを使っているなら以下を入力するだけです
151
151
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
152
152
```
153
153
154
+ > 訳注: (Rust 1.14.0 以降)
155
+ >
156
+ > rustup のインストール方法は変更されました。代わりに以下を入力して下さい。
157
+ >
158
+ > ``` bash
159
+ > curl https://sh.rustup.rs -sSf | sh
160
+ > ` ` `
161
+
154
162
< ! -- This will download a script, and stat the installation. If it all goes well, -->
155
163
< ! -- you’ll see this appear: -->
156
164
このコマンドでスクリプトをダウンロードしインストールを始めます。
157
- 全て上手くいったら以下が表示される筈です 。
165
+ 全て上手くいったなら以下が表示される筈です 。
158
166
159
167
` ` ` text
160
168
Welcome to Rust.
@@ -169,29 +177,41 @@ not want the script to run ‘sudo’ then pass it the --disable-sudo flag.
169
177
You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
170
178
or by running this script again with the --uninstall flag.
171
179
172
- Continue? (y/N)
180
+ Continue? (y/N)
173
181
```
174
182
175
183
> 訳注:
176
- >
177
- >
184
+ >
185
+ >
178
186
> ``` text
179
187
> Rustへようこそ。
180
- >
188
+ >
181
189
> このスクリプトはRustコンパイラとそのパッケージマネージャCargoをダウンロードし、/usr/local
182
190
> へとインストールします。--prefix=<path> オプションを使うことで他の場所へインストール
183
191
> 出来ます。
184
- >
192
+ >
185
193
> インストーラは「sudo」下で走るのでパスワードを尋きます。もし'sudo'を使ってほしくないなら
186
194
> --disable-sudo フラグを渡します。
187
- >
195
+ >
188
196
> You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
189
197
> or by running this script again with the --uninstall flag.
190
- >
198
+ >
191
199
> /usr/local/lib/rustlib/uninstall.shを実行するかこのスクリプトに--uninstallフラグを
192
200
> 付けて実行することで後程アンインストール出来ます。
193
- >
194
- > 続けますか? (y/N)
201
+ >
202
+ > 続けますか? (y/N)
203
+ > ```
204
+ >
205
+ > (Rust 1.14.0 以降)
206
+ >
207
+ > 全てがうまくいったなら、以下のように表示されるはずです。
208
+ >
209
+ > ```text
210
+ > Rust is installed now. Great!
211
+ > ```
212
+ >
213
+ > ```text
214
+ > Rust はたった今インストールされました。すばらしい!
195
215
> ```
196
216
197
217
<!-- From here, press `y` for ‘yes’, and then follow the rest of the prompts. -->
@@ -201,8 +221,20 @@ Continue? (y/N)
201
221
## Windowsでのインストール
202
222
203
223
<!-- If you're on Windows, please download the appropriate [installer][install-page]. -->
204
- Windowsを使っているなら適切な[インストーラ][install-page]をダウンロードして下さい。
205
-
224
+ Windowsを使っているなら適切な [インストーラ][install-page] をダウンロードして下さい。
225
+
226
+ > 訳注: (Rust 1.14.0 以降)
227
+ >
228
+ > <!-- Installing on Windows is nearly as easy: download and run -->
229
+ > <!-- [rustup-init.exe]. It will start the installation in a console and -->
230
+ > <!-- present the above message on success. -->
231
+ > Windows にインストールするのは同じくらい簡単です。 [rustup-init.exe] をダウンロードし実行して下さい。コンソールにてインストールが始まり、成功すれば前述のメッセージが出ているでしょう。
232
+ >
233
+ > <!-- For other installation options and information, visit the [install] -->
234
+ > <!-- page of the Rust website. -->
235
+ > 他のインストールオプションや情報については、Rust のウェブサイトの [インストール][install-page] ページにアクセスして下さい。
236
+
237
+ [rustup-init.exe]: https://win.rustup.rs
206
238
[install-page]: https://www.rust-lang.org/install.html
207
239
208
240
<!-- ## Uninstalling -->
@@ -221,6 +253,14 @@ $ sudo /usr/local/lib/rustlib/uninstall.sh
221
253
<!-- an uninstall option. -->
222
254
Windowsのインストーラを使ったなら ` .msi ` をもう一度実行すればアンインストールのオプションが出てきます。
223
255
256
+ > 訳注: (Rust 1.14.0 以降)
257
+ >
258
+ > Rust のアンインストール方法も変更されています。以下のコマンドを入力して下さい。
259
+ >
260
+ > ``` bash
261
+ > rustup self uninstall
262
+ > ` ` `
263
+
224
264
< ! -- # # Troubleshooting -->
225
265
## トラブルシューティング
226
266
0 commit comments