This repository was archived by the owner on Sep 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 336
Expand file tree
/
Copy pathinstall.html
More file actions
192 lines (158 loc) · 7.57 KB
/
install.html
File metadata and controls
192 lines (158 loc) · 7.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
---
layout: ko-KR/default
title: 설치 · Rust 프로그래밍 언어
---
<h1 class="rustup">Rust 설치</h1>
<div class="row rustup-row">
<div class="col-md-8 instr-column">
<div id="platform-instructions-unix" class="instructions" style="display: none;">
<p>Rust를 설치하려면 다음을 터미널에 입력한 뒤 화면에 나오는 설명(영문)을 따르세요.</p>
<pre>curl https://sh.rustup.rs -sSf | sh</pre>
</div>
<div id="platform-instructions-win" class="instructions" style="display: none;">
<p>
Rust를 설치하려면
<a href="https://win.rustup.rs">rustup‑init.exe</a>을
받아 설치한 뒤 화면에 나오는 설명(영문)을 따르세요.
</p>
</div>
<div id="platform-instructions-unknown" class="instructions" style="display: none;">
<!-- unrecognized platform: ask for help -->
<p>무슨 플랫폼을 사용하시는지 알아내지 못 했습니다.</p>
<p>
Rust는 윈도, 리눅스, Mac OS X, FreeBSD 및 NetBSD에서 동작합니다.
만약 이들 플랫폼을 쓰는데도 이 화면을 보신다면
<a href="https://github.com/rust-lang/rust-www/issues/new">이슈 트래커에 다음 값들을 보고해 주세요</a>:
</p>
<div>
<div>navigator.platform:</div>
<div id="nav-plat"></div>
<div>navigator.appVersion:</div>
<div id="nav-app"></div>
</div>
<!-- duplicate the default cross-platform instructions -->
<div>
<p>Rust를 설치하려면, 유닉스를 사용하고 있을 경우,<br/>
다음을 터미널에 입력한 뒤 화면에 나오는 설명(영문)을 따르세요.</p>
<pre>curl https://sh.rustup.rs -sSf | sh</pre>
</div>
<hr/>
<div>
<p>
윈도를 사용하고 있을 경우,<br/>
<a href="https://win.rustup.rs">rustup‑init.exe</a>를
받아 설치한 뒤 화면에 나오는 설명(영문)을 따르세요.
</p>
</div>
</div>
<div id="platform-instructions-default" class="instructions">
<div>
<p>Rust를 설치하려면, 유닉스를 사용하고 있을 경우,<br/>
다음을 터미널에 입력한 뒤 화면에 나오는 설명(영문)을 따르세요.</p>
<pre>curl https://sh.rustup.rs -sSf | sh</pre>
</div>
<hr/>
<div>
<p>
윈도를 사용하고 있을 경우,<br/>
<a href="https://win.rustup.rs">rustup‑init.exe</a>를
받아 설치한 뒤 화면에 나오는 설명(영문)을 따르세요.
</p>
</div>
</div>
</div>
<div class="col-md-4 release-info-column">
<div>
<div class="release-version">Rust <span>{{ site.stable }}</span></div>
<a href="{{ site.stable_blog }}">
<div class="release-date">{{ site.stable_date | date: "%Y년 %-m월 %-d일" }}</div>
</a>
<br>
<a id="platform-button" style="display: none;" href="#">
여길 누르거나 "n"을 눌러서 플랫폼을 바꿉니다
</a>
</div>
</div>
</div>
<h2>Rust 설치에 대한 참고 사항</h2>
<div class="row">
<div class="col-md-12">
<h3><code>rustup</code>으로 툴체인 관리하기</h3>
<p>
Rust는
<a href="https://github.com/rust-lang-nursery/rustup.rs"><code>rustup</code></a>
툴로 설치되고 관리됩니다. Rust는 6주 간격의
<a href="https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md">
빠른 릴리스 프로세스</a>를 가지고 있으며
<a href="https://forge.rust-lang.org/platform-support.html">
많은 수의 플랫폼</a>을 지원하기 때문에,
언제나 수많은 Rust 빌드가 존재합니다.
<code>rustup</code>은 Rust가 지원하는 모든 플랫폼에서 이 빌드들을 일관되게 다루며,
베타 및 나이틀리 릴리스 채널에서 Rust를 설치하는 걸 가능케 하고,
추가적인 크로스컴파일 타겟 또한 지원합니다.
</p>
<p>
더 자세한 정보는
<a href="https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md"><code>rustup</code>
문서</a>를 참고하세요.
</p>
<h3><code>PATH</code> 환경 변수 설정하기</h3>
<p>
Rust 개발 환경에서 모든 도구는
<span class="platform-specific not-win" style="display: inline;">
<code>~/.cargo/bin</code>
</span>
<span class="platform-specific win" style="display: none;">
<code>%USERPROFILE%\.cargo\bin</code>
</span> 디렉토리에 설치되며,
<code>rustc</code>, <code>cargo</code>, 그리고 <code>rustup</code>을 포함한
Rust 툴체인은 여기에서 찾을 수 있습니다.
</p>
<p>
따라서 Rust 개발자는 이 디렉토리를
<a href="https://en.wikipedia.org/wiki/PATH_(variable)"><code>PATH</code>
환경 변수</a>에 추가하는 게 일반적입니다.
설치 과정에서 <code>rustup</code>은 <code>PATH</code>를 설정하려 시도하나,
플랫폼의 차이, 명령줄 셸의 차이 및 <code>rustup</code>의 버그 때문에
<code>PATH</code>가 콘솔이 재시작될 때까지, 또는 사용자가 로그아웃할 때까지,
또는 아예 변경되지 않을 수도 있습니다.
</p>
<p>
만약 설치 후에 콘솔에서 <code>rustc --version</code>를 실행했을 때 실패한다면
이게 가장 가능성이 높은 이유입니다.
</p>
<div class="platform-specific win">
<h3>윈도 한정</h3>
<!-- This anchor is probably linked in the wild and should not be broken -->
<a id="win-foot"></a>
<p>
윈도에서 Rust는 추가적으로 Visual Studio 2013 또는 이후를 위한 C++ 빌드 도구를
필요로 합니다. 빌드 도구를 받는 가장 쉬운 방법은
<a href="http://landinghub.visualstudio.com/visual-cpp-build-tools">
Microsoft Visual C++ Build Tools 2015</a>를
설치하여 Visual C++ 빌드 도구만을 설치하는 것입니다.
아니면 Visual Studio 2015나 Visual Studio 2013을
<a href="https://www.visualstudio.com/downloads/">설치</a>한 뒤
설치 과정에서 "C++ 도구"를 선택해도 됩니다.
</p>
<p>
윈도에서 Rust를 설정하는 데 더 자세한 정보는
<a href="https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows">윈도용 <code>rustup</code>
문서</a>를 참고하십시오.
</p>
</div>
</div>
</div>
<h2>다른 설치 방법</h3>
<div class="row">
<div class="col-md-12">
<p>
위에서 설명한 <code>rustup</code>를 사용한 설치는
대부분의 개발자들에게 권장되는 Rust 설치 방법이지만,
<a href="other-installers.html">다른 방법</a>으로도 설치할 수 있습니다.
</p>
</div>
</div>
<script type="text/javascript">
{% include rustup.js %}
</script>