centos6.9源码安装wine3.0稳定版

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos6.9源码安装wine3.0稳定版相关的知识,希望对你有一定的参考价值。

使用源代码安装Wine 3.0

第1步:安装依赖包

我们需要用一些核心开发工具,如gcc, flex, bison, debuggers等来安装‘Development Tools‘,这些软件必须要编译和构建新的包,使用YUM命令来安装。

# yum -y groupinstall ‘Development Tools‘
# yum -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison

第2步:下载Wine 3.0

wget  https://dl.winehq.org/wine/source/3.0/wine-3.0.tar.xz
tar -xvf wine-3.0.tar.xz

如果解压不了xz,安装xz

yum install -y xz

第3步:在Linux中安装Wine 3.0

----------在32位系统上----------

$ cd wine-3.0/
$ ./configure
$ make
# make install   #[以root用户身份运行]

----------在64位系统上----------

$ cd wine-3.0/
$ ./configure --enable-win64
$ make
# make install   #[以root用户身份运行]

第4步:安装完成,测试

--------- 在32位系统上 ---------

$ wine notepad
$ wine c:\\windows\\notepad.exe

--------- 在64位系统上 ---------

$ wine64 notepad
$ wine64 c:\\windows\\notepad.exe

以上是关于centos6.9源码安装wine3.0稳定版的主要内容,如果未能解决你的问题,请参考以下文章

centos6.9有几个版本,分别有啥区别

Zorin OS 12.3 发布,基于Ubuntu新手友好分发版

centos6.9 升级glibc(升级到 2.17版)

CentOS6.9编译安装LNMP环境2

centos6.9源码编译httpd2.4

redis最新稳定版安装及开机自启