Skip to content

Commit 2067a85

Browse files
committed
add description of rustup.rs to getting-started
1 parent 07bf237 commit 2067a85

File tree

2 files changed

+91
-14
lines changed

2 files changed

+91
-14
lines changed

1.6/ja/book/getting-started.md

Lines changed: 50 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,14 @@ LinuxかMacを使っているなら以下を入力するだけです
151151
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
152152
```
153153

154+
> 訳注: (Rust 1.14.0 以降)
155+
>
156+
> rustup のインストール方法は変更されました。代わりに以下を入力して下さい。
157+
>
158+
> ```bash
159+
> curl https://sh.rustup.rs -sSf | sh
160+
> ```
161+
154162
<!-- This will download a script, and stat the installation. If it all goes well, -->
155163
<!-- you’ll see this appear: -->
156164
このコマンドでスクリプトをダウンロードしインストールを始めます。
@@ -169,29 +177,40 @@ not want the script to run ‘sudo’ then pass it the --disable-sudo flag.
169177
You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
170178
or by running this script again with the --uninstall flag.
171179
172-
Continue? (y/N)
180+
Continue? (y/N)
173181
```
174182
175183
> 訳注:
176-
>
177-
>
184+
>
185+
>
178186
> ```text
179187
> Rustへようこそ。
180-
>
188+
>
181189
> このスクリプトはRustコンパイラとそのパッケージマネージャCargoをダウンロードし、/usr/local
182190
> へとインストールします。--prefix=<path> オプションを使うことで他の場所へインストール
183191
> 出来ます。
184-
>
192+
>
185193
> インストーラは「sudo」下で走るのでパスワードを尋きます。もし'sudo'を使ってほしくないなら
186194
> --disable-sudo フラグを渡します。
187-
>
195+
>
188196
> You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
189197
> or by running this script again with the --uninstall flag.
190-
>
198+
>
191199
> /usr/local/lib/rustlib/uninstall.shを実行するかこのスクリプトに--uninstallフラグを
192200
> 付けて実行することで後程アンインストール出来ます。
193-
>
194-
> 続けますか? (y/N)
201+
>
202+
> 続けますか? (y/N)
203+
> ```
204+
>
205+
> (Rust 1.14.0 以降)
206+
> 全てがうまくいったなら、以下のように表示されるはずです。
207+
>
208+
> ```text
209+
> Rust is installed now. Great!
210+
> ```
211+
>
212+
> ```text
213+
> Rust はたった今インストールされました。すばらしい!
195214
> ```
196215
197216
<!-- From here, press `y` for ‘yes’, and then follow the rest of the prompts. -->
@@ -201,8 +220,20 @@ Continue? (y/N)
201220
## Windowsでのインストール
202221
203222
<!-- If you're on Windows, please download the appropriate [installer][install-page]. -->
204-
Windowsを使っているなら適切な[インストーラ][install-page]をダウンロードして下さい。
205-
223+
Windowsを使っているなら適切な [インストーラ][install-page] をダウンロードして下さい。
224+
225+
> 訳注: (Rust 1.14.0 以降)
226+
>
227+
> <!-- Installing on Windows is nearly as easy: download and run -->
228+
> <!-- [rustup-init.exe]. It will start the installation in a console and -->
229+
> <!-- present the above message on success. -->
230+
> Windows にインストールするのは同じくらい簡単です。 [rustup-init.exe] をダウンロードし実行して下さい。コンソールにてインストールが始まり、成功すれば前述のメッセージが出ているでしょう。
231+
>
232+
> <!-- For other installation options and information, visit the [install] -->
233+
> <!-- page of the Rust website. -->
234+
> 他のインストールオプションや情報については、Rust のウェブサイトの [インストール][install-page] ページにアクセスして下さい。
235+
236+
[rustup-init.exe]: https://win.rustup.rs
206237
[install-page]: https://www.rust-lang.org/install.html
207238
208239
<!-- ## Uninstalling -->
@@ -221,6 +252,14 @@ $ sudo /usr/local/lib/rustlib/uninstall.sh
221252
<!-- an uninstall option. -->
222253
Windowsのインストーラを使ったなら `.msi` をもう一度実行すればアンインストールのオプションが出てきます。
223254

255+
> 訳注: (Rust 1.14.0 以降)
256+
>
257+
> Rust のアンインストール方法も変更されています。以下のコマンドを入力して下さい。
258+
>
259+
> ```bash
260+
> rustup self uninstall
261+
> ```
262+
224263
<!-- ## Troubleshooting -->
225264
## トラブルシューティング
226265

1.9/ja/book/getting-started.md

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,21 +158,39 @@ LinuxかMacを使っているなら、ターミナルを開いて、以下のよ
158158
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
159159
```
160160

161+
> 訳注: (Rust 1.14.0 以降)
162+
>
163+
> rustup のインストール方法は変更されました。代わりに以下を入力して下さい。
164+
>
165+
> ```bash
166+
> curl https://sh.rustup.rs -sSf | sh
167+
> ```
168+
161169
<!-- This will download a script, and start the installation. If it all goes well, -->
162170
<!-- you’ll see this appear: -->
163171
このコマンドでスクリプトをダウンロードしインストールを始めます。
164-
全てが上手くいったら、以下のように表示されるはずです。
172+
全てが上手くいったなら、以下のように表示されるはずです。
165173
166174
```text
167175
Rust is ready to roll.
168176
```
169177
170178
> 訳注:
171179
>
172-
>
173180
> ```text
174181
> Rustを使う準備ができました。
175182
> ```
183+
>
184+
> (Rust 1.14.0 以降)
185+
> 全てがうまくいったなら、以下のように表示されるはずです。
186+
>
187+
> ```text
188+
> Rust is installed now. Great!
189+
> ```
190+
>
191+
> ```text
192+
> Rust はたった今インストールされました。すばらしい!
193+
> ```
176194
177195
<!-- From here, press `y` for ‘yes’, and then follow the rest of the prompts. -->
178196
ここで「はい」の意味で `y` を押しましょう。そして以後の画面の指示に従ってください。
@@ -181,8 +199,20 @@ Rust is ready to roll.
181199
## Windowsでのインストール
182200
183201
<!-- If you're on Windows, please download the appropriate [installer][install-page]. -->
184-
Windowsを使っているなら適切な[インストーラ][install-page]をダウンロードしてください。
202+
Windowsを使っているなら適切な [インストーラ][install-page] をダウンロードしてください。
203+
204+
> 訳注: (Rust 1.14.0 以降)
205+
>
206+
> <!-- Installing on Windows is nearly as easy: download and run -->
207+
> <!-- [rustup-init.exe]. It will start the installation in a console and -->
208+
> <!-- present the above message on success. -->
209+
> Windows にインストールするのは同じくらい簡単です。 [rustup-init.exe] をダウンロードし実行して下さい。コンソールにてインストールが始まり、成功すれば前述のメッセージが出ているでしょう。
210+
>
211+
> <!-- For other installation options and information, visit the [install] -->
212+
> <!-- page of the Rust website. -->
213+
> 他のインストールオプションや情報については、Rust のウェブサイトの [インストール][install-page] ページにアクセスして下さい。
185214
215+
[rustup-init.exe]: https://win.rustup.rs
186216
[install-page]: https://www.rust-lang.org/install.html
187217
188218
<!-- ## Uninstalling -->
@@ -201,6 +231,14 @@ $ sudo /usr/local/lib/rustlib/uninstall.sh
201231
<!-- an uninstall option. -->
202232
Windowsのインストーラを使ったなら `.msi` をもう一度実行すれば、アンインストールのオプションが出てきます。
203233

234+
> 訳注: (Rust 1.14.0 以降)
235+
>
236+
> Rust のアンインストール方法も変更されています。以下のコマンドを入力して下さい。
237+
>
238+
> ```bash
239+
> rustup self uninstall
240+
> ```
241+
204242
<!-- ## Troubleshooting -->
205243
## トラブルシューティング
206244

0 commit comments

Comments
 (0)