The translation is temporarily closed for contributions due to maintenance, please come back later.

Translation

(itstool) path: sect2/title
English
Installing WINE via FreeBSD Package Repositories
Context English Chinese (Simplified) (zh_CN) State
WINE Prerequistes WINE 相关依赖
Before installing WINE itself, it is useful to have the following pre-requisites installed. 在安装 WINE 之前,需要安装这些东西。
A GUI GUI
Most <trademark class="registered">Windows</trademark> programs are expecting to have a graphical user interface available. If WINE is installed without one present, its dependencies will include the Wayland compositor, and so a GUI will be installed along with WINE. But it is useful to have the GUI of choice installed, configured, and working correctly before installing WINE. 大多数<trademark class="registered">Windows</trademark>程序都希望有一个图形用户界面。如果WINE没有安装,它的依赖关系将包括Wayland合成器,因此图形用户界面将和WINE一起安装。但是,在安装WINE之前,安装、配置并正确运行所选择的图形用户界面是很有用的。
wine-gecko wine-gecko
The <trademark class="registered">Windows</trademark> operating system has for some time had a default web browser pre-installed: Internet Explorer. As a result, some applications work under the assumption that there will always be something capable of displaying web pages. In order to provide this functionality, the WINE layer includes a web browser component using the Mozilla project's Gecko engine. When WINE is first launched it will offer to download and install this, and there are reasons users might want it do so (these will be covered in a later chapter). But they can also install it prior to installing WINE, or alongside the install of WINE proper. <trademark class="registered">Windows</trademark>操作系统已经预装了浏览器 Internet Explorer。因此,一些应用程序在工作时假设总有一些能够显示网页的东西。为了提供这个功能,WINE层包含了一个使用Mozilla项目的Gecko引擎的网页浏览器组件。当WINE第一次启动时,它将提供下载和安装这个组件,而且用户可能希望它这样做的原因(这些将在后面的章节中介绍)。但是他们也可以在安装WINE之前安装它,或者在安装WINE的同时安装。
Install this package with the following: 使用以下方法安装包:
<prompt>#</prompt> <userinput>pkg install wine-gecko</userinput> <prompt>#</prompt> <userinput>pkg install wine-gecko</userinput>
Alternately, compile the port with the following: 或使用 Port 套件集安装:
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/wine-gecko</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/wine-gecko</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
wine-mono wine-mono
This port installs the MONO framework, an open source implementation of Microsoft's .NET. Including this with the WINE installation will make it that much more likely that any applications written in .NET will install and run on the system. 这个移植程序会安装MONO框架,这是微软的.NET的一个开源实现。在安装 WINE 的同时, 将它与 WINE 一起安装, 可以使任何用 .NET 编写的应用程序更容易在系统上安装和运行。
<prompt>#</prompt> <userinput>pkg install wine-mono</userinput> <prompt>#</prompt> <userinput>pkg install wine-mono</userinput>
To compile from the ports collection: 从Port套件集安装:
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/wine-mono</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/wine-mono</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
Installing WINE via FreeBSD Package Repositories 使用 pkg 安装 WINE
With the pre-requisites in place, install WINE via package with the following command: 有了先决条件,用下面的命令通过 pkg 安装WINE:
<prompt>#</prompt> <userinput>pkg install wine</userinput> <prompt>#</prompt> <userinput>pkg install wine</userinput>
Alternately compile the WINE sub-system from source with the following: 或使用以下方法从源码编译 WINE 子系统:
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/wine</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/wine</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
Concerns of 32- Versus 64-Bit in WINE Installations 32 位和 64 位的区别
Like most software, <trademark class="registered">Windows</trademark> applications made the upgrade from the older 32-bit architecture to 64 bits. And most recent software is written for 64-bit operating systems, although modern OSes can sometimes continue to run older 32-bit programs as well. FreeBSD is no different, having had support for 64-bit since the 5.x series. 和大多数软件一样,<trademark class="registered">Windows</trademark>应用程序也从32位架构升级到了64位。而且大多数最新的软件都是为64位操作系统编写的,尽管现代操作系统有时也能继续运行旧的32位程序。FreeBSD 也不例外,从 5.x 系列开始就支持 64 位。
However, using old software no longer supported by default is a common use for emulators, and users commonly turn to WINE to play games and use other programs that do not run properly on modern hardware. Fortunately, FreeBSD can support all three scenarios: 然而,使用默认情况下不再支持的旧软件是仿真器的常见用途,用户通常会转而使用WINE来玩游戏和使用其他在现代硬件上无法正常运行的程序。幸运的是,FreeBSD可以支持这三种情况:
On modern, 64-bit machine and want to run 64-bit <trademark class="registered">Windows</trademark> software, simply install the ports mentioned in the above sections. The ports system will automatically install the 64-bit version. 在现代 64 位的机器上, 如果想运行 64 位的 <trademark class="registered">Windows</trademark> 软件, 只需安装上述章节中提到的 ports。ports 系统会自动安装 64 位版本。
Alternately, users might have an older 32-bit machine that they do not want to run with its original, now non-supported software. They can install the 32-bit (i386) version of FreeBSD, then install the ports in the above sections. Again, on a 32-bit machine the ports system will install the corresponding 32-bit version of WINE by default. 或者, 用户可能有一台较旧的 32 位机器, 但他们不希望用原来的、 现在不支持的软件来运行。他们可以安装32位(i386)版本的FreeBSD, 然后再安装上述章节中的 ports。同样,在32位的机器上, ports系统会默认安装相应的32位版本的WINE。
However, given a 64-bit version of FreeBSD and need to run <emphasis role="strong">32-bit</emphasis> <trademark class="registered">Windows</trademark> applications, installing a different port is required to enable 32-bit compatibility. To install the pre-compiled package, use the following: 然而,如果给定的是 64 位版本的 FreeBSD,并且需要运行 <emphasis role="strong">32 位</emphasis> <trademark class="registered">Windows</trademark> 应用程序,则需要安装不同的 port 来实现 32 位兼容。要安装预编译的软件包,请使用以下方法:
<prompt>#</prompt> <userinput>pkg install i386-wine</userinput> <prompt>#</prompt> <userinput>pkg install i386-wine</userinput>
Or compile the port with the following: 或使用以下命令编译 port:
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/i386-wine</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
<prompt>#</prompt> <userinput>cd /usr/ports/emulator/i386-wine</userinput>
<prompt>#</prompt> <userinput>make install</userinput>
Running a First WINE Program on FreeBSD 在 FreeBSD 上运行第一个 WINE 程序
Now that WINE is installed, the next step is to try it out by running a simple program. An easy way to do this is to download a self-contained application, i.e., one can simply unpack and run without any complex installation process. 现在WINE已经安装好了,下一步就是通过运行一个简单的程序来试用它。一个简单的方法是下载一个自带的应用程序,即可以简单地解压并运行,而不需要任何复杂的安装过程。

Loading…

Installing WINE via FreeBSD Package Repositories
使用 pkg 安装 WINE
a month ago
Browse all component changes

Glossary

English Chinese (Simplified) (zh_CN)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/title
Source string location
book.translate.xml:19967
String age
a month ago
Source string age
a month ago
Translation file
books/zh_CN/handbook.po, string 3264