|
| 1 | +--- |
| 2 | +layout: ru-RU/untranslated |
| 3 | +title: Downloads · The Rust Programming Language |
| 4 | +--- |
| 5 | + <h1>Downloads</h1> |
| 6 | + |
| 7 | + <hr> |
| 8 | + |
| 9 | + <div class="row install"> |
| 10 | + <div class="col-md-4 side-header"> |
| 11 | + <h2 id="stable">{{ site.stable }} </h2> |
| 12 | + <h3>{{ site.stable_date }}</h3> |
| 13 | + <p> |
| 14 | + The |
| 15 | + <a href="http://blog.rust-lang.org{{ site.stable_blog }}"> |
| 16 | + current stable release of Rust |
| 17 | + </a> |
| 18 | + , updated every six weeks and backwards-compatible. |
| 19 | + </p> |
| 20 | + </div> |
| 21 | + <div class="col-md-8"> |
| 22 | + <table class="table-features table-installers"><tbody> |
| 23 | + <tr> |
| 24 | + <td class="inst-type">Linux (.tar.gz)</td> |
| 25 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-x86_64-unknown-linux-gnu.tar.gz"><div class="inst-button">64-bit</div></a></td> |
| 26 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-unknown-linux-gnu.tar.gz"><div class="inst-button">32-bit</div></a></td> |
| 27 | + </tr> |
| 28 | + <tr> |
| 29 | + <td class="inst-type">Mac (.pkg)</td> |
| 30 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-x86_64-apple-darwin.pkg"><div class="inst-button">64-bit</div></a></td> |
| 31 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-apple-darwin.pkg"><div class="inst-button">32-bit</div></a></td> |
| 32 | + </tr> |
| 33 | + <tr> |
| 34 | + <td class="inst-type">Windows (<a href="#win-foot">GNU ABI <sup>†</sup></a>) (.msi)</td> |
| 35 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-x86_64-pc-windows-gnu.msi"><div class="inst-button">64-bit</div></a></td> |
| 36 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-pc-windows-gnu.msi"><div class="inst-button">32-bit</div></a></td> |
| 37 | + </tr> |
| 38 | + <tr> |
| 39 | + <td class="inst-type">Windows (<a href="#win-foot">MSVC ABI <sup>†</sup></a>) (.msi) </td> |
| 40 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-x86_64-pc-windows-msvc.msi"><div class="inst-button">64-bit</div></a></td> |
| 41 | + <td><a href="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-pc-windows-msvc.msi"><div class="inst-button">32-bit</div></a></td> |
| 42 | + </tr> |
| 43 | + <tr><td> </td></tr> |
| 44 | + <tr> |
| 45 | + <td class="inst-type"></td> |
| 46 | + <td colspan="2"><a href="https://static.rust-lang.org/dist/rustc-{{ site.stable }}-src.tar.gz"><div class="inst-button">Source</div></a></td> |
| 47 | + </tr> |
| 48 | + </tbody></table> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + |
| 52 | + <div class="row"> |
| 53 | + <div class="col-md-10 col-md-offset-1"> |
| 54 | + <p>An easy way to install the stable binaries for Linux and Mac is to run this in your shell:</p> |
| 55 | + <pre><code>curl -sSf https://static.rust-lang.org/rustup.sh | sh</code></pre> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + |
| 59 | + <hr/> |
| 60 | + |
| 61 | + <div class="row install"> |
| 62 | + <div class="col-md-4 side-header"> |
| 63 | + <h2 id="beta">Beta ({{ site.beta }})</h2> |
| 64 | + <p> |
| 65 | + A preview of the upcoming stable release, intended for testing by |
| 66 | + crate authors. Updated every six weeks and as needed. |
| 67 | + </p> |
| 68 | + <p><em>Scheduled for stable release<br/>{{ site.beta_date }}</em>.<p> |
| 69 | + </div> |
| 70 | + <div class="col-md-8"> |
| 71 | + <table class="table-features table-installers"><tbody> |
| 72 | + <tr> |
| 73 | + <td class="inst-type">Linux (.tar.gz)</td> |
| 74 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-x86_64-unknown-linux-gnu.tar.gz"><div class="inst-button">64-bit</div></a></td> |
| 75 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-i686-unknown-linux-gnu.tar.gz"><div class="inst-button">32-bit</div></a></td> |
| 76 | + </tr> |
| 77 | + <tr> |
| 78 | + <td class="inst-type">Mac (.pkg)</td> |
| 79 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-x86_64-apple-darwin.pkg"><div class="inst-button">64-bit</div></a></td> |
| 80 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-i686-apple-darwin.pkg"><div class="inst-button">32-bit</div></a></td> |
| 81 | + </tr> |
| 82 | + <tr> |
| 83 | + <td class="inst-type">Windows (<a href="#win-foot">GNU ABI <sup>†</sup></a>) (.msi)</td> |
| 84 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-gnu.msi"><div class="inst-button">64-bit</div></a></td> |
| 85 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-i686-pc-windows-gnu.msi"><div class="inst-button">32-bit</div></a></td> |
| 86 | + </tr> |
| 87 | + <tr> |
| 88 | + <td class="inst-type">Windows (<a href="#win-foot">MSVC ABI <sup>†</sup></a>) (.msi) </td> |
| 89 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-msvc.msi"><div class="inst-button">64-bit</div></a></td> |
| 90 | + <td><a href="https://static.rust-lang.org/dist/rust-beta-i686-pc-windows-msvc.msi"><div class="inst-button">32-bit</div></a></td> |
| 91 | + <td></td> |
| 92 | + </tr> |
| 93 | + <tr><td> </td></tr> |
| 94 | + <tr> |
| 95 | + <td class="inst-type"></td> |
| 96 | + <td colspan="2"><a href="https://static.rust-lang.org/dist/rustc-beta-src.tar.gz"><div class="inst-button">Source</div></a></td> |
| 97 | + </tr> |
| 98 | + </tbody></table> |
| 99 | + </div> |
| 100 | + </div> |
| 101 | + |
| 102 | + <div class="row"> |
| 103 | + <div class="col-md-10 col-md-offset-1"> |
| 104 | + <p>An easy way to install the beta binaries for Linux and Mac is to run this in your shell:</p> |
| 105 | + <pre><code>curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta</code></pre> |
| 106 | + </div> |
| 107 | + </div> |
| 108 | + |
| 109 | + <hr/> |
| 110 | + |
| 111 | + <div class="row install"> |
| 112 | + <div class="col-md-4 side-header"> |
| 113 | + <h2 id="nightly">Nightly ({{ site.nightly }})</h2> |
| 114 | + <p> |
| 115 | + The current development branch. |
| 116 | + It includes |
| 117 | + <a href="https://doc.rust-lang.org/book/nightly-rust.html">unstable features</a> |
| 118 | + that are not available in the betas or stable releases. |
| 119 | + </p> |
| 120 | + </div> |
| 121 | + <div class="col-md-8"> |
| 122 | + <table class="table-features table-installers"><tbody> |
| 123 | + <tr> |
| 124 | + <td class="inst-type">Linux (.tar.gz)</td> |
| 125 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz"><div class="inst-button">64-bit</div></a></td> |
| 126 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-i686-unknown-linux-gnu.tar.gz"><div class="inst-button">32-bit</div></a></td> |
| 127 | + </tr> |
| 128 | + <tr> |
| 129 | + <td class="inst-type">Mac (.pkg)</td> |
| 130 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.pkg"><div class="inst-button">64-bit</div></a></td> |
| 131 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-i686-apple-darwin.pkg"><div class="inst-button">32-bit</div></a></td> |
| 132 | + </tr> |
| 133 | + <tr> |
| 134 | + <td class="inst-type">Windows (<a href="#win-foot">GNU ABI <sup>†</sup></a>) (.msi)</td> |
| 135 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi"><div class="inst-button">64-bit</div></a></td> |
| 136 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.msi"><div class="inst-button">32-bit</div></a></td> |
| 137 | + </tr> |
| 138 | + <tr> |
| 139 | + <td class="inst-type">Windows (<a href="#win-foot">MSVC ABI <sup>†</sup></a>) (.msi) </td> |
| 140 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-msvc.msi"><div class="inst-button">64-bit</div></a></td> |
| 141 | + <td><a href="https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-msvc.msi"><div class="inst-button">32-bit</div></a></td> |
| 142 | + <td></td> |
| 143 | + </tr> |
| 144 | + <tr><td> </td></tr> |
| 145 | + <tr> |
| 146 | + <td class="inst-type"></td> |
| 147 | + <td colspan="2"><a href="https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz"><div class="inst-button">Source</div></a></td> |
| 148 | + </tr> |
| 149 | + </tbody></table> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + |
| 153 | + <div class="row"> |
| 154 | + <div class="col-md-10 col-md-offset-1"> |
| 155 | + <p>An easy way to install the nightly binaries for Linux and Mac is to run this in your shell:</p> |
| 156 | + <pre><code>curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly</code></pre> |
| 157 | + </div> |
| 158 | + </div> |
| 159 | + |
| 160 | + <hr/> |
| 161 | + |
| 162 | + <div class="row"> |
| 163 | + <div class="col-md-12"> |
| 164 | + <p> |
| 165 | + Discover other downloads in <a href="https://static.rust-lang.org/dist/index.html">the archives.</a> |
| 166 | + </p> |
| 167 | + </div> |
| 168 | + </div> |
| 169 | + |
| 170 | + <hr/> |
| 171 | + |
| 172 | + <div class="row"> |
| 173 | + <div class="col-md-12"> |
| 174 | + <a id="win-foot"></a> |
| 175 | + <p> |
| 176 | + <em>†</em> |
| 177 | + There are two prominent |
| 178 | + <a href="https://en.wikipedia.org/wiki/Application_binary_interface">ABIs</a> |
| 179 | + in use on Windows: the native (MSVC) ABI used by |
| 180 | + <a href="https://www.visualstudio.com">Visual Studio</a>, |
| 181 | + and the GNU ABI used by the |
| 182 | + <a href="https://gcc.gnu.org/">GCC toolchain</a>. |
| 183 | + Which version of Rust you need depends largely on what C/C++ libraries you want to interoperate with: |
| 184 | + for interop with software produced by Visual Studio use the MSVC build of Rust; for interop with |
| 185 | + GNU software built using the |
| 186 | + <a href="https://msys2.github.io/">MinGW/MSYS2 toolchain</a> |
| 187 | + use the GNU build. |
| 188 | + </p> |
| 189 | + <p> |
| 190 | + MSVC builds of Rust additionally require the Microsoft Visual |
| 191 | + C++ build tools for Visual Studio 2013 or later. |
| 192 | + The easiest way to acquire the build tools is by installing |
| 193 | + <a href="http://landinghub.visualstudio.com/visual-cpp-build-tools"> |
| 194 | + Microsoft Visual C++ Build Tools 2015</a> |
| 195 | + which provides just the Visual C++ build tools. |
| 196 | + Alternately, you can <a href="https://www.visualstudio.com/downloads/">install</a> |
| 197 | + Visual Studio 2015 or Visual Studio 2013 and during install select the "C++ tools". |
| 198 | + No additional software installation is necessary for basic use of the GNU build. |
| 199 | + </p> |
| 200 | + <p> |
| 201 | + Rust's support for the GNU ABI is more mature, and is recommended for typical |
| 202 | + uses. |
| 203 | + </p> |
| 204 | + </div> |
| 205 | + </div> |
0 commit comments