Changes between Version 1 and Version 2 of Zh_CN:Download


Ignore:
Timestamp:
2015-08-07T06:40:30+02:00 (9 years ago)
Author:
mmyfl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Zh_CN:Download

    v1 v2  
    1 [[TranslatedPages(revision=40)]]
     1[[TranslatedPages(revision=53)]]
    22= 下载 =
    33
    44== 概述 ==
    55
    6 || ||= 操作系统无关 =||= [https://www.java.com/en/download/faq/java_webstart.xml 网络启动] =||= Windows =||= Mac OS X =||= Ubuntu,… =||
    7 ||= **测试** [[Version(tested)]] =|| **[/josm-tested.jar jar ]** || [/download/josm.jnlp jnlp] || [/download/windows/josm-setup.exe setup.exe]([wiki:USB_Stick 便携版]) || [/download/macosx/josm-macosx.zip package.zip] || ''[#Ubuntu 见下]'' ||
    8 ||= 最新 [[Version(latest)]] =|| [/josm-latest.jar jar] || [/download/josm-latest.jnlp jnlp] || || || ''[#Ubuntu 见下]'' ||
    9 ||= 较旧 =|| [/download/ download/] || || || || ||
     6|| ||= 操作系统无关 =||= [https://www.java.com/en/download/faq/java_webstart.xml 网络启动] =||= Windows =||= Mac OS X =||= Ubuntu,… =||= openSUSE =||
     7||= **测试** [[Version(tested)]] =|| **[/josm-tested.jar jar ]** || [/download/josm.jnlp jnlp] || [/download/windows/josm-setup.exe setup.exe]([wiki:USB_Stick 便携版]) || [/download/macosx/josm-macosx.zip package.zip] || ''[#Ubuntu 见下]'' || ''[#openSUSE 见下]'' ||
     8||= 最新 [[Version(latest)]] =|| [/josm-latest.jar jar] || [/download/josm-latest.jnlp jnlp] || || || ''[#Ubuntu 见下]'' || ||
     9||= 较旧 =|| [/download/ download/] || || || || || ||
    1010
    1111 * **我应该使用哪个版本?** (参见:[wiki:Releases 发布系统])
     
    2525 * 准备一个 [wiki:USB_Stick USB 闪存驱动器],以在任何 Windows 机器上运行 JOSM。
    2626 * 可使用下载脚本,以检查[/latest 最新]和[/latest 测试]版的地址(或[/version 两个同时]),以减少下载带宽
    27  * 如果下载尺寸过大,对于两种发布版,您都可以在下载地址后添加“?lang=…”,以去除无用的翻译内容(例如,“?lang=zh_CN”将下载只包含简体中文翻译的 JOSM)。
     27 * 如果下载文件的尺寸过大:
     28  * 在下载地址后添加 **?lang=…**,以去除无用的翻译内容(例如,**?lang=zh_CN** 将下载只包含简体中文翻译的 JOSM)。
    2829  * **注意**:用下划线分隔[[Translations|语言代码]]和国家代码扩展,如“?lang=en_GB”
     30  * 添加 **?unsigned=1** 以去除代码签名信息
     31  * 当同时使用 **lang** 和 **unsigned** 时,用 **&** 分隔,如 **?lang=zh_CN&unsigned=1**。
    2932
    3033
     
    4851{{{
    4952#!sh
    50 svn co https://josm.openstreetmap.de/svn/trunk
     53svn co https://josm.openstreetmap.de/svn/trunk josm
    5154}}}
    5255   * 从官方 OSM Subversion 版本库(包含插件):
    5356{{{
    5457#!sh
    55 svn co http://svn.openstreetmap.org/applications/editors/josm josm
     58svn co https://svn.openstreetmap.org/applications/editors/josm
    5659}}}
    57    * 从非官方 [http://github.com/openstreetmap/josm GitHub 镜像]:
     60   * 从非官方 [https://github.com/openstreetmap/josm GitHub 镜像]:
    5861{{{
    5962#!sh
     
    6164}}}
    6265
     66== openSUSE 源#openSUSE
     67
     68Application:Geo 源中可获得测试版本的 JOSM。
     69
     70首先,以 root 用户用 yast 或 zypper 添加软件源(用您使用的版本替换 URL 中的版本):
     71{{{
     72zypper ar -f http://download.opensuse.org/repositories/Application:/Geo/openSUSE_13.2 Application:Geo
     73}}}
     74
     75然后安装 **josm** 及 **josm-fonts** 软件包。
    6376
    6477== Ubuntu 源 ==#Ubuntu
    6578
    6679有一个针对 Ubuntu 的软件源。它也应该能在其他基于 Debian 的(尤其是基于 Ubuntu 的)发行版上工作,但我们不会主动测试和维护其他的任何发行版,除了 Ubuntu。
     80[[BR]]
     81注:除了下文所述的常规步骤外,旧的 DEB 可从以下目录中下载并安装:[https://josm.openstreetmap.de/apt/pool/universe/j/josm/ josm],[https://josm.openstreetmap.de/apt/pool/universe/j/josm-latest/ josm-latest]
    6782
    6883源中包含两个软件包:
     
    7186 {{{josm-latest}}}:: ''开发版(每夜构建)''[[br]]
    7287 可以与 {{{josm}}} 包并存。默认的首选项目录是 {{{~/.josm-latest}}}。
    73 
    7488
    7589=== 安装 ===
     
    8599
    86100{{{
    87 deb http://josm.openstreetmap.de/apt lucid universe
    88 deb http://josm.openstreetmap.de/apt natty universe
    89 deb http://josm.openstreetmap.de/apt oneiric universe
    90 deb http://josm.openstreetmap.de/apt precise universe
    91 deb http://josm.openstreetmap.de/apt quantal universe
    92 deb http://josm.openstreetmap.de/apt raring universe
    93 deb http://josm.openstreetmap.de/apt saucy universe
    94 deb http://josm.openstreetmap.de/apt trusty universe
     101deb https://josm.openstreetmap.de/apt lucid universe
     102deb https://josm.openstreetmap.de/apt precise universe
     103deb https://josm.openstreetmap.de/apt quantal universe
     104deb https://josm.openstreetmap.de/apt raring universe
     105deb https://josm.openstreetmap.de/apt saucy universe
     106deb https://josm.openstreetmap.de/apt trusty universe
     107deb https://josm.openstreetmap.de/apt utopic universe
     108deb https://josm.openstreetmap.de/apt vivid universe
    95109}}}
    96110
    97 **注意**:只需在终端中运行 {{{lsb_release -c}}} 就能得到正确的代号。
     111此外,以下代码也可完成同样的事:
     112{{{
     113echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     114}}}
    98115
    99116对于其他基于 Debian 的发行版,添加如下行:
    100117
    101118{{{
    102 deb http://josm.openstreetmap.de/apt alldist universe
     119deb https://josm.openstreetmap.de/apt alldist universe
    103120}}}
    104121 
     
    108125并添加如下行:
    109126`
    110 deb http://josm.openstreetmap.de/apt VERSION universe
     127deb https://josm.openstreetmap.de/apt VERSION universe
    111128`
    112129}}}
     
    162179{{{
    163180#!sh
    164 C:\Windows\System32\javaws.exe -J-d64 -Xmx=2048m -localfile -J-Djnlp.application.href=http://josm.openstreetmap.de/download/josm.jnlp "C:\Users\<snipped user name>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\7311<snipped-hex-number>7f8"
     181C:\Windows\System32\javaws.exe -J-d64 -Xmx=2048m -localfile -J-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp "C:\Users\<snipped user name>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\21\7311<snipped-hex-number>7f8"
    165182}}}
    166183You don't need to change the end of the command line with the snipped parts here. Just check the path for {{{javaws.exe}}} and add options {{{-J-d64}}} for the 64-bit mode needed to work with large OSM datasets, and {{{-Xmx=2048m}}} to increase the VM size (to 2GB here).