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