centos7安装wine_如何在CentOS 7上安装Wine 32位

centos7安装wine

Since version 7, RHEL has only x86-64 versions. The same thing happens to CentOS 7. In CentOS 7/EPEL, there is only package for Wine x86-64. However, many Windows .exe files are 32-bit. Even there are 64-bit versions for some software, their installation file is 32-bit. And for some certain software such as Office 2007, 32-bit wine is preferred.

从版本7开始,RHEL仅具有x86-64版本。 CentOS 7也会发生同样的事情。在CentOS 7 / EPEL中,只有Wine x86-64的软件包。 但是,许多Windows .exe文件是32位的。 即使某些软件有64位版本,其安装文件也是32位。 对于某些某些软件(例如Office 2007) ,首选32位wine。

In this post, we will check how to install 32-bit Wine on CentOS 7. If you would like to install 32-bit Wine on CentOS 8, please check How to Install Wine 32-bit on CentOS 8.

在这篇文章中,我们将检查如何在CentOS 7上安装32位Wine。如果您想在CentOS 8上安装32位Wine,请检查如何在CentOS 8 上安装Wine 32位 。

  • It is confirmed that this method works for Wine 4.10.0 by lukesoft.
  • 经lukesoft确认此方法适用于Wine 4.10.0 。
  • Linux 7.2 too by 史蒂夫(Steve )证实该方法也适用于Scientific Steve.Linux 7.2。
  • Victor Schulz and Victor Schulz和gretzware.gretzware证实该方法也适用于Wine 2.0。
  • gretzware. Note it needs libXfixes-devel .gretzware证实该方法也适用于2.17开发。 注意它需要libXfixes-devel。

centos7安装wine_如何在CentOS 7上安装Wine 32位

一个用于构建和安装Wine的脚本 (One single script to build and install Wine)

The whole process in this post has already been written as a shell script.

这篇文章中的整个过程已经作为shell脚本编写了

  • install-wine-i686-centos7.shinstall-wine-i686-centos7.sh
  • install-wine-5.0-centos7.shinstall-wine-5.0-centos7.sh

You may download the script and run it directly as root to install wine of version such as 1.8.7, 2.0.2.

您可以下载脚本并以root身份直接运行它以安装版本 wine,例如1.8.7,2.0.2。

or

要么

逐步手动构建和安装Wine (Build and install Wine manually step by step)

The following part of this post introduces what each step does.

删除已安装的旧酒版本 (Erase old wine versions installed)

If you ever installed wine packages, erase them first as we will build wine from the source.

如果您曾经安装过葡萄酒包装,请先删除它们,因为我们将从源头上制造葡萄酒。

安装构建葡萄酒所需的软件包 (Install packages needed to build wine)

We are going to install the packages needed to build wine. These may not be sufficient depending on your base installation packages. If later steps complain that some packages are missing, you can install them.

我们将安装构建葡萄酒所需的软件包。 这些可能不足,具体取决于您的基本安装软件包。 如果后续步骤抱怨某些软件包丢失,则可以安装它们。

下载并解压缩源程序包 (Download and unpack the source package)

Here, we use a variable to specify the version we want to install. It will be used in later steps too.

在这里,我们使用变量指定要安装的版本。 它也将在以后的步骤中使用。

构建wine 32位和64位版本 (Build wine 32-bit and 64-bit versions)

Make directories for building wine 32-bit and 64-bit versions.

使用于构建wine的目录为32位和64位版本。

Build the 64-bit version first as 32-bit version building depends on it.

首先构建64位版本,因为32位版本构建依赖于此。

Build the 32-bit version now.

现在构建32位版本。

安装wine 32位和64位版本 (Install wine 32-bit and 64-bit versions)

Now, we can install Wine. The trick is to install 32-bit version first and then the 64-bit version.

现在,我们可以安装Wine了。 诀窍是先安装32位版本,然后再安装64位版本。

As we are still in the win32 directory, run

因为我们仍然在win32目录中,所以运行

Install the 64-bit version:

安装64位版本:

By now, if everything goes well, you have successfully installed the Wine 32-bit and 64-bit versions. You may double-check it with the command:

到目前为止,如果一切顺利,那么您已经成功安装了Wine 32位和64位版本。 您可以使用命令再次检查它:

Note the “ELF 32-bit” and “ELF 64-bit” in the file type strings.

请注意文件类型字符串中的“ ELF 32位”和“ ELF 64位”。

Now you can run your 32-bit Windows application on CentOS 7. Enjoy :-)

现在,您可以在CentOS 7上运行您的32位Windows应用程序。

翻译自: https://www.systutorials.com/install-32-bit-wine-1-8-centos-7/

centos7安装wine

文章知识点与官方知识档案匹配,可进一步学习相关知识Java技能树首页概览91518 人正在系统学习中 相关资源:糖烟茶酒行业管理软件 烟酒进销存店铺销售收银管理系统

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2020年6月22日
下一篇 2020年6月22日

相关推荐