|
186 | 186 |
|
187 | 187 |
|
188 | 188 | <h1 class="title">Nightly Rust</h1>
|
189 |
| - <p>Rust provides three distribution channels for Rust: nightly, beta, and stable. |
190 |
| -Unstable features are only available on nightly Rust. For more details on this |
191 |
| -process, see ‘<a href="http://blog.rust-lang.org/2014/10/30/Stability.html">Stability as a deliverable</a>’.</p> |
| 189 | + <!-- % Nightly Rust --> |
192 | 190 |
|
193 |
| -<p>To install nightly Rust, you can use <code>rustup.sh</code>:</p> |
| 191 | +<!-- Rust provides three distribution channels for Rust: nightly, beta, and stable. --> |
| 192 | + |
| 193 | +<!-- Unstable features are only available on nightly Rust. For more details on this --> |
| 194 | + |
| 195 | +<!-- process, see ‘[Stability as a deliverable][stability]’. --> |
| 196 | + |
| 197 | +<p>Rustにはnightly、beta、stableという3種類の配布用チャネルがあります。不安定なフィーチャはnightlyのRustでのみ使えます。詳細は「 <a href="http://blog.rust-lang.org/2014/10/30/Stability.html">配布物の安定性</a> 」をご覧ください。</p> |
| 198 | + |
| 199 | +<!-- To install nightly Rust, you can use `rustup.sh`: --> |
| 200 | + |
| 201 | +<p>nightlyのRustをインストールするには <code>rustup.sh</code> を使って以下のようにします。</p> |
194 | 202 |
|
195 | 203 | <pre><code class="language-bash">$ curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
|
196 | 204 | </code></pre>
|
197 | 205 |
|
198 |
| -<p>If you're concerned about the <a href="http://curlpipesh.tumblr.com">potential insecurity</a> of using <code>curl | sh</code>, please keep reading and see our disclaimer below. And feel free to |
199 |
| -use a two-step version of the installation and examine our installation script:</p> |
| 206 | +<!-- If you're concerned about the [potential insecurity][insecurity] of using `curl --> |
| 207 | + |
| 208 | +<!-- | sh`, please keep reading and see our disclaimer below. And feel free to --> |
| 209 | + |
| 210 | +<!-- use a two-step version of the installation and examine our installation script: --> |
| 211 | + |
| 212 | +<p>もし <code>curl | sh</code> の使用による <a href="http://curlpipesh.tumblr.com">潜在的な危険性</a> が気になる場合は、この後の注意書きまで読み進めてください。また、以下のように2段階のインストール方法を用い、インストールスクリプトを精査しても構いません。</p> |
200 | 213 |
|
201 | 214 | <pre><code class="language-bash">$ curl -f -L https://static.rust-lang.org/rustup.sh -O
|
202 | 215 | $ sh rustup.sh --channel=nightly
|
203 | 216 | </code></pre>
|
204 | 217 |
|
205 |
| -<p>If you're on Windows, please download either the <a href="https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.msi">32-bit installer</a> or |
206 |
| -the <a href="https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi">64-bit installer</a> and run it.</p> |
| 218 | +<!-- If you're on Windows, please download either the [32-bit installer][win32] or --> |
| 219 | + |
| 220 | +<!-- the [64-bit installer][win64] and run it. --> |
| 221 | + |
| 222 | +<p>Windowsの場合は <a href="https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.msi">32bit版インストーラ</a> あるいは <a href="https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi">64bit版インストーラ</a> をダウンロードして実行してください。</p> |
| 223 | + |
| 224 | +<!-- ## Uninstalling --> |
| 225 | + |
| 226 | +<h2 id='アンインストール' class='section-header'><a href='#アンインストール'>アンインストール</a></h2> |
| 227 | +<!-- If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay. --> |
207 | 228 |
|
208 |
| -<h2 id='uninstalling' class='section-header'><a href='#uninstalling'>Uninstalling</a></h2> |
209 |
| -<p>If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay. |
210 |
| -Not every programming language is great for everyone. Just run the uninstall |
211 |
| -script:</p> |
| 229 | +<!-- Not every programming language is great for everyone. Just run the uninstall --> |
| 230 | + |
| 231 | +<!-- script: --> |
| 232 | + |
| 233 | +<p>もしRustが不要だと判断した場合、残念ですが仕方がありません。万人に気に入られるプログラミング言語ばかりとは限らないのです。アンインストールするには以下を実行します。</p> |
212 | 234 |
|
213 | 235 | <pre><code class="language-bash">$ sudo /usr/local/lib/rustlib/uninstall.sh
|
214 | 236 | </code></pre>
|
215 | 237 |
|
216 |
| -<p>If you used the Windows installer, just re-run the <code>.msi</code> and it will give you |
217 |
| -an uninstall option.</p> |
| 238 | +<!-- If you used the Windows installer, just re-run the `.msi` and it will give you --> |
| 239 | + |
| 240 | +<!-- an uninstall option. --> |
| 241 | + |
| 242 | +<p>Windows用のインストーラを使用した場合は、 <code>.msi</code> を再実行しアンインストールオプションを選択してください。</p> |
| 243 | + |
| 244 | +<!-- Some people, and somewhat rightfully so, get very upset when we tell you to --> |
| 245 | + |
| 246 | +<!-- `curl | sh`. Basically, when you do this, you are trusting that the good --> |
| 247 | + |
| 248 | +<!-- people who maintain Rust aren't going to hack your computer and do bad things. --> |
| 249 | + |
| 250 | +<!-- That's a good instinct! If you're one of those people, please check out the --> |
| 251 | + |
| 252 | +<!-- documentation on [building Rust from Source][from-source], or [the official --> |
| 253 | + |
| 254 | +<!-- binary downloads][install-page]. --> |
| 255 | + |
| 256 | +<p><code>curl | sh</code> を行うように書いたことについて、(当然のことですが)戸惑った方がいるかもしれません。基本的に <code>curl | sh</code> を行うということは、Rustをメンテナンスしている善良な人々がコンピュータのハッキングなど何か悪いことをしたりしないと信用する、ということです。ですので戸惑った方はよい直感を持っているといえます。そのような方は <a href="https://github.com/rust-lang/rust#building-from-source">ソースコードからのRustビルド</a> あるいは <a href="https://www.rust-lang.org/install.html">公式バイナリのダウンロード</a> を確認してください。</p> |
218 | 257 |
|
219 |
| -<p>Some people, and somewhat rightfully so, get very upset when we tell you to |
220 |
| -<code>curl | sh</code>. Basically, when you do this, you are trusting that the good |
221 |
| -people who maintain Rust aren't going to hack your computer and do bad things. |
222 |
| -That's a good instinct! If you're one of those people, please check out the |
223 |
| -documentation on <a href="https://github.com/rust-lang/rust#building-from-source">building Rust from Source</a>, or <a href="https://www.rust-lang.org/install.html">the official |
224 |
| -binary downloads</a>.</p> |
| 258 | +<!-- Oh, we should also mention the officially supported platforms: --> |
225 | 259 |
|
226 |
| -<p>Oh, we should also mention the officially supported platforms:</p> |
| 260 | +<p>ここで公式にサポートするプラットフォームについても述べておきます。</p> |
| 261 | + |
| 262 | +<!-- * Windows (7, 8, Server 2008 R2) --> |
| 263 | + |
| 264 | +<!-- * Linux (2.6.18 or later, various distributions), x86 and x86-64 --> |
| 265 | + |
| 266 | +<!-- * OSX 10.7 (Lion) or greater, x86 and x86-64 --> |
227 | 267 |
|
228 | 268 | <ul>
|
229 |
| -<li>Windows (7, 8, Server 2008 R2)</li> |
230 |
| -<li>Linux (2.6.18 or later, various distributions), x86 and x86-64</li> |
231 |
| -<li>OSX 10.7 (Lion) or greater, x86 and x86-64</li> |
| 269 | +<li>Windows (7、8、Server 2008 R2)</li> |
| 270 | +<li>Linux (2.6.18以上の各ディストリビューション)、x86 及び x86-64</li> |
| 271 | +<li>OSX 10.7 (Lion)以上、x86 及び x86-64</li> |
232 | 272 | </ul>
|
233 | 273 |
|
234 |
| -<p>We extensively test Rust on these platforms, and a few others, too, like |
235 |
| -Android. But these are the ones most likely to work, as they have the most |
236 |
| -testing.</p> |
| 274 | +<!-- We extensively test Rust on these platforms, and a few others, too, like --> |
| 275 | + |
| 276 | +<!-- Android. But these are the ones most likely to work, as they have the most --> |
| 277 | + |
| 278 | +<!-- testing. --> |
| 279 | + |
| 280 | +<p>Rustではこれらのプラットフォームの他、Androidなどいくつかのプラットフォームについても幅広いテストが行われています。しかし、後者については(訳注:実環境での使用実績が少ないという意味で)テストし尽くされているとは言えず、ほとんどの場合動くだろう、という状態です。</p> |
| 281 | + |
| 282 | +<!-- Finally, a comment about Windows. Rust considers Windows to be a first-class --> |
| 283 | + |
| 284 | +<!-- platform upon release, but if we're honest, the Windows experience isn't as --> |
| 285 | + |
| 286 | +<!-- integrated as the Linux/OS X experience is. We're working on it! If anything --> |
| 287 | + |
| 288 | +<!-- does not work, it is a bug. Please let us know if that happens. Each and every --> |
| 289 | + |
| 290 | +<!-- commit is tested against Windows just like any other platform. --> |
| 291 | + |
| 292 | +<p>最後にWindowsについてです。RustはWindowsをリリースする上での1級プラットフォームだと考えています。しかし、正直なところ、Windowsでの使い勝手はLinux/OS Xのそれと同等というわけではありません。(そうなるように努力しています!) もしうまく動かないことがあれば、それはバグですのでお知らせください。全てのコミットは他のプラットフォームと同様にWindowsに対してもテストされています。</p> |
237 | 293 |
|
238 |
| -<p>Finally, a comment about Windows. Rust considers Windows to be a first-class |
239 |
| -platform upon release, but if we're honest, the Windows experience isn't as |
240 |
| -integrated as the Linux/OS X experience is. We're working on it! If anything |
241 |
| -does not work, it is a bug. Please let us know if that happens. Each and every |
242 |
| -commit is tested against Windows just like any other platform.</p> |
| 294 | +<!-- If you've got Rust installed, you can open up a shell, and type this: --> |
243 | 295 |
|
244 |
| -<p>If you've got Rust installed, you can open up a shell, and type this:</p> |
| 296 | +<p>Rustのインストールが終われば、シェルを開いて以下のように入力してください。</p> |
245 | 297 |
|
246 | 298 | <pre><code class="language-bash">$ rustc --version
|
247 | 299 | </code></pre>
|
248 | 300 |
|
249 |
| -<p>You should see the version number, commit hash, commit date and build date:</p> |
| 301 | +<!-- You should see the version number, commit hash, commit date and build date: --> |
| 302 | + |
| 303 | +<p>バージョン番号、コミットハッシュ、コミット日時、ビルド日時が表示されるはずです。</p> |
250 | 304 |
|
251 | 305 | <pre><code class="language-bash">rustc 1.0.0-nightly (f11f3e7ba 2015-01-04) (built 2015-01-06)
|
252 | 306 | </code></pre>
|
253 | 307 |
|
254 |
| -<p>If you did, Rust has been installed successfully! Congrats!</p> |
| 308 | +<!-- If you did, Rust has been installed successfully! Congrats! --> |
| 309 | + |
| 310 | +<p>これでRustのインストールはうまくいきました!おめでとう!</p> |
| 311 | + |
| 312 | +<!-- This installer also installs a copy of the documentation locally, so you can --> |
| 313 | + |
| 314 | +<!-- read it offline. On UNIX systems, `/usr/local/share/doc/rust` is the location. --> |
| 315 | + |
| 316 | +<!-- On Windows, it's in a `share/doc` directory, inside wherever you installed Rust --> |
| 317 | + |
| 318 | +<!-- to. --> |
| 319 | + |
| 320 | +<p>インストーラはドキュメントのローカルコピーもインストールするので、オフラインでも読むことが出来ます。UNIXシステムでは <code>/usr/local/share/doc/rust</code> に、WindowsではRustをインストールしたディレクトリの <code>share\doc</code> ディレクトリに配置されます。</p> |
| 321 | + |
| 322 | +<!-- If not, there are a number of places where you can get help. The easiest is --> |
| 323 | + |
| 324 | +<!-- [the #rust IRC channel on irc.mozilla.org][irc], which you can access through --> |
| 325 | + |
| 326 | +<!-- [Mibbit][mibbit]. Click that link, and you'll be chatting with other Rustaceans --> |
| 327 | + |
| 328 | +<!-- (a silly nickname we call ourselves), and we can help you out. Other great --> |
255 | 329 |
|
256 |
| -<p>This installer also installs a copy of the documentation locally, so you can |
257 |
| -read it offline. On UNIX systems, <code>/usr/local/share/doc/rust</code> is the location. |
258 |
| -On Windows, it's in a <code>share/doc</code> directory, inside wherever you installed Rust |
259 |
| -to.</p> |
| 330 | +<!-- resources include [the user’s forum][users], and [Stack Overflow][stackoverflow]. --> |
260 | 331 |
|
261 |
| -<p>If not, there are a number of places where you can get help. The easiest is |
262 |
| -<a href="irc://irc.mozilla.org/#rust">the #rust IRC channel on irc.mozilla.org</a>, which you can access through |
263 |
| -<a href="http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust">Mibbit</a>. Click that link, and you'll be chatting with other Rustaceans |
264 |
| -(a silly nickname we call ourselves), and we can help you out. Other great |
265 |
| -resources include <a href="https://users.rust-lang.org/">the user’s forum</a>, and <a href="http://stackoverflow.com/questions/tagged/rust">Stack Overflow</a>.</p> |
| 332 | +<p>もし上手くいかないなら様々な場所で助けを得られます。最も簡単なのは <a href="http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust">Mibbit</a> からアクセス出来る <a href="irc://irc.mozilla.org/#rust">irc.mozilla.orgにある#rustチャネル</a> です。リンクをクリックしたら他のRustacean達(我々のことをふざけてこう呼ぶのです)にチャットで助けを求めることができます。他には <a href="https://users.rust-lang.org/">ユーザフォーラム</a> や <a href="http://stackoverflow.com/questions/tagged/rust">Stack Overflow</a> などがあります。</p> |
266 | 333 |
|
267 | 334 | <script type="text/javascript">
|
268 | 335 | window.playgroundUrl = "https://play.rust-lang.org";
|
|
0 commit comments