Skip to content

getting-startedにrustup.rsのインストール方法を追記 #248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 52 additions & 12 deletions 1.6/ja/book/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,18 @@ LinuxかMacを使っているなら以下を入力するだけです
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
```

> 訳注: (Rust 1.14.0 以降)
>
> rustup のインストール方法は変更されました。代わりに以下を入力して下さい。
>
> ```bash
> curl https://sh.rustup.rs -sSf | sh
> ```

<!-- This will download a script, and stat the installation. If it all goes well, -->
<!-- you’ll see this appear: -->
このコマンドでスクリプトをダウンロードしインストールを始めます。
全て上手くいったら以下が表示される筈です
全て上手くいったなら以下が表示される筈です

```text
Welcome to Rust.
Expand All @@ -169,29 +177,41 @@ not want the script to run ‘sudo’ then pass it the --disable-sudo flag.
You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
or by running this script again with the --uninstall flag.

Continue? (y/N)
Continue? (y/N)
```

> 訳注:
>
>
>
>
> ```text
> Rustへようこそ。
>
>
> このスクリプトはRustコンパイラとそのパッケージマネージャCargoをダウンロードし、/usr/local
> へとインストールします。--prefix=<path> オプションを使うことで他の場所へインストール
> 出来ます。
>
>
> インストーラは「sudo」下で走るのでパスワードを尋きます。もし'sudo'を使ってほしくないなら
> --disable-sudo フラグを渡します。
>
>
> You may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,
> or by running this script again with the --uninstall flag.
>
>
> /usr/local/lib/rustlib/uninstall.shを実行するかこのスクリプトに--uninstallフラグを
> 付けて実行することで後程アンインストール出来ます。
>
> 続けますか? (y/N)
>
> 続けますか? (y/N)
> ```
>
> (Rust 1.14.0 以降)
>
> 全てがうまくいったなら、以下のように表示されるはずです。
>
> ```text
> Rust is installed now. Great!
> ```
>
> ```text
> Rust はたった今インストールされました。すばらしい!
> ```

<!-- From here, press `y` for ‘yes’, and then follow the rest of the prompts. -->
Expand All @@ -201,8 +221,20 @@ Continue? (y/N)
## Windowsでのインストール

<!-- If you're on Windows, please download the appropriate [installer][install-page]. -->
Windowsを使っているなら適切な[インストーラ][install-page]をダウンロードして下さい。

Windowsを使っているなら適切な [インストーラ][install-page] をダウンロードして下さい。

> 訳注: (Rust 1.14.0 以降)
>
> <!-- Installing on Windows is nearly as easy: download and run -->
> <!-- [rustup-init.exe]. It will start the installation in a console and -->
> <!-- present the above message on success. -->
> Windows にインストールするのは同じくらい簡単です。 [rustup-init.exe] をダウンロードし実行して下さい。コンソールにてインストールが始まり、成功すれば前述のメッセージが出ているでしょう。
>
> <!-- For other installation options and information, visit the [install] -->
> <!-- page of the Rust website. -->
> 他のインストールオプションや情報については、Rust のウェブサイトの [インストール][install-page] ページにアクセスして下さい。

[rustup-init.exe]: https://win.rustup.rs
[install-page]: https://www.rust-lang.org/install.html

<!-- ## Uninstalling -->
Expand All @@ -221,6 +253,14 @@ $ sudo /usr/local/lib/rustlib/uninstall.sh
<!-- an uninstall option. -->
Windowsのインストーラを使ったなら `.msi` をもう一度実行すればアンインストールのオプションが出てきます。

> 訳注: (Rust 1.14.0 以降)
>
> Rust のアンインストール方法も変更されています。以下のコマンドを入力して下さい。
>
> ```bash
> rustup self uninstall
> ```

<!-- ## Troubleshooting -->
## トラブルシューティング

Expand Down
44 changes: 42 additions & 2 deletions 1.9/ja/book/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,18 @@ LinuxかMacを使っているなら、ターミナルを開いて、以下のよ
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
```

> 訳注: (Rust 1.14.0 以降)
>
> rustup のインストール方法は変更されました。代わりに以下を入力して下さい。
>
> ```bash
> curl https://sh.rustup.rs -sSf | sh
> ```

<!-- This will download a script, and start the installation. If it all goes well, -->
<!-- you’ll see this appear: -->
このコマンドでスクリプトをダウンロードしインストールを始めます。
全てが上手くいったら、以下のように表示されるはずです。
全てが上手くいったなら、以下のように表示されるはずです。

```text
Rust is ready to roll.
Expand All @@ -173,6 +181,18 @@ Rust is ready to roll.
> ```text
> Rustを使う準備ができました。
> ```
>
> (Rust 1.14.0 以降)
>
> 全てがうまくいったなら、以下のように表示されるはずです。
>
> ```text
> Rust is installed now. Great!
> ```
>
> ```text
> Rust はたった今インストールされました。すばらしい!
> ```

<!-- From here, press `y` for ‘yes’, and then follow the rest of the prompts. -->
ここで「はい」の意味で `y` を押しましょう。そして以後の画面の指示に従ってください。
Expand All @@ -181,8 +201,20 @@ Rust is ready to roll.
## Windowsでのインストール

<!-- If you're on Windows, please download the appropriate [installer][install-page]. -->
Windowsを使っているなら適切な[インストーラ][install-page]をダウンロードしてください。
Windowsを使っているなら適切な [インストーラ][install-page] をダウンロードしてください。

> 訳注: (Rust 1.14.0 以降)
>
> <!-- Installing on Windows is nearly as easy: download and run -->
> <!-- [rustup-init.exe]. It will start the installation in a console and -->
> <!-- present the above message on success. -->
> Windows にインストールするのは同じくらい簡単です。 [rustup-init.exe] をダウンロードし実行して下さい。コンソールにてインストールが始まり、成功すれば前述のメッセージが出ているでしょう。
>
> <!-- For other installation options and information, visit the [install] -->
> <!-- page of the Rust website. -->
> 他のインストールオプションや情報については、Rust のウェブサイトの [インストール][install-page] ページにアクセスして下さい。

[rustup-init.exe]: https://win.rustup.rs
[install-page]: https://www.rust-lang.org/install.html

<!-- ## Uninstalling -->
Expand All @@ -201,6 +233,14 @@ $ sudo /usr/local/lib/rustlib/uninstall.sh
<!-- an uninstall option. -->
Windowsのインストーラを使ったなら `.msi` をもう一度実行すれば、アンインストールのオプションが出てきます。

> 訳注: (Rust 1.14.0 以降)
>
> Rust のアンインストール方法も変更されています。以下のコマンドを入力して下さい。
>
> ```bash
> rustup self uninstall
> ```

<!-- ## Troubleshooting -->
## トラブルシューティング

Expand Down