]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/zh/web/download.itexi
Web-zh: additions from Ben Luo.
[lilypond.git] / Documentation / zh / web / download.itexi
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: zh -*-
2 @c This file is part of web.texi
3 @ignore
4     Translation of GIT committish: 676dd9eed5f81540f71c3e3e55666c60f7af36ac
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  See TRANSLATION for details.
8 @end ignore
9
10
11 @include included/generating-output.itexi
12
13 @macro warningTextBased
14 @warning{LilyPond is a @strong{text-based} music engraver; it is
15 more similar to a programming language than a graphical score
16 editing program.  Before downloading LilyPond, please read about
17 our @ref{Text input}.}
18 @end macro
19
20
21 @node 下载
22 @unnumbered 下载
23 @translationof Download
24
25 @divClass{heading-center}
26 @ifclear web_version
27   @c yes, we want versionDevel here, since the online links
28   @c for @version won't be up yet!
29   @heading Downloads for LilyPond @versionDevel
30
31 @warning{Links for the stable version of LilyPond can be found at
32 @uref{http://lilypond.org, lilypond.org}}
33 @end ifclear
34 @ifset web_version
35   @heading Downloads for LilyPond @versionStable
36 @end ifset
37
38 @warningTextBased
39
40 @divEnd
41
42 @divClass{link-headings}
43
44 @divClass{column-left-top}
45
46 @subheading 使用者
47
48 @itemize
49
50 @item
51 @c ref is duplicated to avoid underlining ref as image.
52 @ref{Unix, @sourceimage{logo-linux,,,}
53 @sourceimage{logo-freebsd,,,}}
54 @ref{Unix, Unix (Linux and FreeBSD)}
55
56 @item
57 @ref{MacOS X, @sourceimage{logo-macosx,,,}}
58 @ref{MacOS X, MacOS X}
59
60 @item
61 @ref{Windows, @sourceimage{logo-windows,,,}}
62 @ref{Windows, Microsoft Windows}
63
64 @end itemize
65
66 @divEnd
67
68 @divClass{column-right-top}
69 @subheading 开发人员
70
71 @itemize
72
73 @item
74 @ref{Source}:
75 for packagers
76
77 @item
78 @ref{Old downloads}:
79 old versions
80
81 @item @ref{Development}:
82 latest unstable version
83
84 @end itemize
85 @divEnd
86
87 @divEnd
88
89 @divClass{column-center-bottom}
90
91 @subheading 软件协议
92
93 LilyPond is published under the
94 @ref{GPL, GNU General Public License}.
95 @divEnd
96
97
98 @divClass{color1}
99
100 @subheading 捐赠人
101
102 Many thanks to @uref{http://www.vt.edu/, Virginia Tech} and
103 @uref{http://www.linuxaudio.org/, linuxaudio.org} for sponsoring
104 our bandwidth.
105
106 @sourceimage{VTlogo_ITF,,,}
107 @sourceimage{lao_banner_06_on_white_demo,,,}
108
109 @subheading 法律条文
110
111 @divClass{legal}
112 All logos and product images are copyright and trademark
113 acknowledged.
114
115 @logoLegalLinux
116
117 @logoLegalFreeBSD
118
119 @logoLegalMacOSX
120
121 @logoLegalWindows
122
123 @divEnd
124 @divEnd
125
126
127 @divClass{hide}
128
129 @menu
130 * Unix::
131 * MacOS X::
132 * Windows::
133 * 源代码::
134 * 旧的下载::
135 * GPL::
136 @end menu
137 @divEnd
138
139 @node Unix
140 @unnumberedsec Unix
141 @translationof Unix
142
143 @divClass{heading-center}
144 @warningTextBased
145 @divEnd
146
147 @divClass{column-center-top}
148
149 @subheading Generic Packages or Distribution-Specific Packages?
150
151 Many distributions include LilyPond in their normal package
152 system.  These versions are easier to install and uninstall than
153 the generic packages, but they may be older.  If you wish to use
154 our generic packages, please uninstall the official version from
155 your system using the normal package manager for your distribution.
156 See your distribution's documentation about how to use their
157 package manager.
158
159 @divEnd
160
161
162 @divClass{column-left-top}
163
164 @subheading Generic Packages
165
166 @subsubheading 下载
167
168 @itemize
169
170 @item
171 @sourceimage{logo-linux,,,}
172 @ifclear web_version
173   @downloadDevelLinuxNormal
174 @end ifclear
175 @ifset web_version
176   @downloadStableLinuxNormal
177 @end ifset
178
179 (if in doubt, use this)
180
181 @item
182 @sourceimage{logo-linux,,,}
183 @downloadStableLinuxBig
184
185 @item
186 @sourceimage{logo-linux,,,}
187 @downloadStableLinuxPPC
188
189 @item
190 @sourceimage{logo-freebsd,,,}
191 @downloadStableFreeBSDNormal
192
193 @item
194 @sourceimage{logo-freebsd,,,}
195 @downloadStableFreeBSDBig
196
197 @end itemize
198
199 @subsubheading 安装
200
201 In the shell, type:
202
203 @example
204 cd PATH-TO-DOWNLOAD-DIRECTORY
205 sh lilypond-@versionStable{}-OS-TYPE.sh
206 @end example
207
208 @subsubheading 卸载
209
210 In the shell, type:
211
212 @example
213 uninstall-lilypond
214 @end example
215
216 @divEnd
217
218
219
220 @divClass{column-right-top}
221
222 @subheading Compiling a file
223
224 @lilypadCommandLine
225
226 @divEnd
227
228
229 @divClass{column-left-top}
230
231 @subheading Distribution-specific Packages
232
233 Please use your distribution's package manager to install or
234 upgrade to these versions.
235
236 @itemize
237
238 @item
239 @sourceimage{logo-fedora,,,}
240 @uref{http://koji.fedoraproject.org/koji/packageinfo?packageID=2447,
241 Fedora: LilyPond 2.12.3}
242
243 @item
244 @sourceimage{logo-ubuntu,,,}
245 @uref{http://packages.ubuntu.com/search?keywords=lilypond,
246 Ubuntu: LilyPond 2.12.2}
247
248 @item
249 @sourceimage{logo-slackware,,,}
250 @uref{http://www.johannes-schoepfer.de/lilypond/,
251 Slackware: LilyPond 2.12.3}
252
253 @item
254 @sourceimage{logo-debian,,,}
255 @uref{http://packages.debian.org/search?keywords=lilypond,
256 Debian: LilyPond 2.12.2}
257
258 @item
259 @sourceimage{logo-suse,,,}
260 @uref{http://software.opensuse.org/search?baseproject=openSUSE%3A11.2&p=1&q=lilypond,
261 openSUSE: LilyPond 2.12.3}
262
263 @end itemize
264
265 @divEnd
266
267
268 @divClass{column-center-bottom}
269
270 @subheading Legalese
271
272 @divClass{legal}
273 All logos and product images are copyright and trademark
274 acknowledged.
275
276 @logoLegalLinux
277
278 @logoLegalFreeBSD
279
280 @divEnd
281 @divEnd
282
283 @node MacOS X
284 @unnumberedsec MacOS X
285 @translationof MacOS X
286
287 @divClass{heading-center}
288 @warningTextBased
289 @divEnd
290
291 @divClass{column-left-top}
292
293 @subheading 包
294 @subsubheading 下载
295
296 @itemize
297
298 @item
299 @sourceimage{logo-macosx,,,}
300 @downloadStableDarwinNormal
301 For MacOS X 10.4 or higher, running on Intel CPUs (if in doubt,
302 use this).
303
304 @item
305 @sourceimage{logo-macosx,,,}
306 @downloadStableDarwinPPC
307 For MacOS X 10.4 or higher, running on G3 and G4 CPUs (old Apple
308 computers).
309
310 @end itemize
311
312 @subsubheading 安装
313
314 Double-click the downloaded file, then drag it to wherever you
315 want.
316
317 @subsubheading 卸载
318
319 Delete the LilyPond.app folder.
320
321 @divEnd
322
323 @divClass{column-right-top}
324
325 @subheading 编译文件
326
327 @lilypadOSX
328
329 @divEnd
330
331
332 @divClass{column-left-top}
333
334 @subheading 在命令行内运行
335
336 @warning{If you are happy with the GUI, then please ignore these
337 instructions.}
338
339 @subsubheading MacOS X 里的命令行
340
341 The most convenient way to run lilypond scripts is by setting up
342 @qq{helper} scripts of your own.
343
344 @enumerate
345
346 @item
347 Create a directory to store these scripts,
348
349 @example
350 mkdir -p ~/bin
351 cd ~/bin
352 @end example
353
354
355 @item
356 Create a file called @command{lilypond} which contains
357
358 @divClass{h-scroll-auto}
359 @example
360 exec @var{DIR}/LilyPond.app/Contents/Resources/bin/lilypond "$@@"
361 @end example
362 @divEnd
363
364 @warning{@var{DIR} will generally be @code{/Applications/}}
365
366
367 @item
368 Create similar files @command{lilypond-book},
369 @command{convert-ly}, and any other scripts you wish to use, by
370 replacing the @command{bin/lilypond} with @command{bin/convert-ly}
371 (or other program name).
372
373
374 @item
375 Make the file executable,
376
377 @example
378 chmod u+x lilypond
379 @end example
380
381
382 @item
383 Now, add this directory to your path.  Modify (or create) a file
384 called @code{.profile} in your home directory such that it
385 contains
386
387 @example
388 export PATH=$PATH:~/bin
389 @end example
390
391 This file should end with a blank line.
392
393 @end enumerate
394
395 @subsubheading 调用单独的脚本
396
397 The scripts --- such as @command{lilypond-book}, @command{convert-ly},
398 @command{abc2ly}, and even @command{lilypond} itself --- are included
399 inside the @code{.app} file for MacOS@tie{}X.
400
401 Scripts can also be run from the command line by invoking them
402 directly:
403
404 @divClass{h-scroll-auto}
405 @example
406 @var{path/to}/LilyPond.app/Contents/Resources/bin/lilypond
407 @end example
408 @divEnd
409
410 The same is true for all other scripts in that directory, such as
411 @command{lilypond-book} and @command{convert-ly}.
412
413 @divEnd
414
415
416 @divClass{column-center-bottom}
417
418 @subheading 法律条文
419
420 @divClass{legal}
421 All logos and product images are copyright and trademark
422 acknowledged.
423
424 @logoLegalMacOSX
425
426 @divEnd
427 @divEnd
428
429 @node Windows
430 @unnumberedsec Windows
431 @translationof Windows
432
433 @divClass{heading-center}
434 @warningTextBased
435 @divEnd
436
437 @divClass{column-left-top}
438
439 @subheading 包
440
441 @subsubheading 下载
442
443 @itemize
444
445 @item
446 @sourceimage{logo-windows,,,}
447 @downloadStableWindows
448 For Windows 2000, XP, Vista and Windows 7.
449
450 @end itemize
451
452 @subsubheading 安装
453
454 @enumerate
455
456 @item
457 Locate the downloaded file and double-click on it to start the
458 installer.  Follow the instructions given to you by the installer;
459 we recommend that you leave all the install options checked and
460 use the default installation location.  Click the @q{Finish} button
461 when the installer has completed.  LilyPond is now installed.
462
463 @end enumerate
464
465 @subsubheading 卸载
466
467 To uninstall LilyPond either:
468
469 @enumerate
470
471 @item
472 Locate the LilyPond folder from the @q{Start} menu and click on the
473 @q{Uninstall} icon.  Click the @q{Finish} button when the uninstaller
474 has completed.
475
476 @item
477 Or from within the Control Panel, locate and select LilyPond and then
478 choose the option to uninstall/remove the software.  Click the @q{Finish}
479 button when the uninstaller has completed.
480
481 @end enumerate
482
483 @divEnd
484
485
486 @divClass{column-right-top}
487
488 @subheading 编译文件
489
490 @lilypadWindows
491
492 @divEnd
493
494
495 @divClass{column-left-top}
496
497 @subheading 在命令行中运行
498
499 @warning{If you are happy with the GUI, then please ignore these
500 instructions.}
501
502 @subsubheading Windows 里的命令行
503
504 @ignore
505 CHECK: check the following descriptions.
506 I don't have English version of Windows.
507 @end ignore
508
509 The most convenient way to run LilyPond is by adding the folder
510 which contains LilyPond executable files to the environmental variable
511 @qq{Path}.
512
513
514 @enumerate
515 @item
516 Open your @qq{System} on the Control Panel,
517 select Advanced tab and click Environmental Variables button.
518
519 @item
520 Select the Variable @qq{Path} from Environmental variables list
521 and click the Edit button.
522 You will be presented a window titled @qq{Edit System Variable};
523 append to @qq{Variable value} the name of the folder
524 which contains LilyPond executable files like this:
525
526 @example
527 [@var{pre-set paths}];@var{DIR}\LilyPond\usr\bin
528 @end example
529
530 @warning{@var{DIR} will generally be @code{C:\Program Files}.}
531
532 @noindent
533 and click @qq{OK} button to close the window.
534
535 @end enumerate
536
537 @subsubheading 调用单独的可运行文件
538
539 LilyPond executable files
540 -- such as lilypond, lilypond-book, convert-ly, and so on --
541 can be run from the command-line by invoking them:
542
543 @example
544 lilypond test.ly
545 @end example
546
547 @divEnd
548
549
550 @divClass{column-center-bottom}
551
552 @subheading 法律条文
553
554 @divClass{legal}
555 All logos and product images are copyright and trademark
556 acknowledged.
557
558 @logoLegalWindows
559
560 @divEnd
561 @divEnd
562
563 @node 源代码
564 @unnumberedsec 源代码
565 @translationof Source
566
567 @divClass{heading-center}
568 @warningTextBased
569 @divEnd
570
571 @warning{We @strong{do not} recommend that you attempt to build
572 LilyPond yourself; almost all user needs are better met with the
573 pre-built version.}
574
575 @divClass{column-left-bottom}
576
577 @subheading 源代码包
578
579 @downloadStableSource{}
580
581 For an extensive listing of all versions (old and new), see our
582 @uref{http://download.linuxaudio.org/lilypond/source/?C=N;O=D,
583 download site}.
584
585 @divEnd
586
587 @divClass{column-right-bottom}
588
589 @subheading 编译指导
590
591 Instructions are listed in @rcontrib{Compiling}.
592
593 @divEnd
594
595 @node 旧的下载
596 @unnumberedsec 旧的下载
597 @translationof Old downloads
598
599 @divClass{heading-center}
600 @warningTextBased
601 @divEnd
602
603 @divClass{column-center-top}
604
605 @subheading 所有版本
606
607 包含所有版本(旧和新)的列表见我们的
608 @uref{http://download.linuxaudio.org/lilypond/binaries/, download
609 site}.
610
611 @divEnd
612
613 @node GPL
614 @unnumberedsec GPL
615 @translationof GPL
616
617 @divClass{column-center-top}
618 @subheading 软件许可证
619
620 GNU LilyPond 在 GNU 通用公共许可证下发布。
621 在 @ref{Freedom} 里我们介绍了这个许可证以及我们选择它的原因。
622
623 @divEnd
624
625 @divClass{column-center-bottom}
626
627 @subheading GNU 通用公共许可证
628
629 @include gpl.itexi
630
631 @divEnd