如何在64bit linux wine 安装系统上安装32bit wine方法

在Linux系统上安装Wine的教程
作者:佚名
字体:[ ] 来源:开源中文社区 时间:06-18 18:23:39
这篇文章主要介绍了在Linux系统上安装Wine的教程,Wine是专门用来在Linux上运行exe程序的项目,非常著名,需要的朋友可以参考下
Wine,一个在Linux平台上非常受欢迎并且强大的开源应用,有了它,我们可以在Linux平台上完美运行Windows应用与游戏。WineHQ团队,近期宣布了一个新的开发版本Wine1.7.29。这个版本带来了诸多重要的特性,并且修复了44个bug。
Wine团队几乎每周都会发布新的开发版本,并且加入许多新特性以及修复漏洞。每个新版本都会支持新的应用与游戏(Windows),这使得Wine在那些想要在Linux下运行Windows应用的用户群体中很流行并且是不可缺少的。
根据变更日志,这个版本中添加了以下的关键特性:
&&& 在DirectWrite中加入增强的外形塑造与BiDi(译者:bi-directional language)镜像。&&& 升级了一些页面错误处理方式。&&& 增加了更多的C运行时函数。&&& 修复了大量的bug。
在官方的 变更日志 中可以找到关于这个版本更多更深入的细节。
这篇文章指导你在基于RedHat与Debian的系统,如CentOS,Fedora,Ubuntu,Linux Mint以及其他的发行版中安装最新的开发版本Wine 1.7.29。在Linux中安装 Wine 1.7.29 开发版本
遗憾的是,目前还没有官方的Wine仓库可以获取基于RedHat系统的版本,只能通过编译源码来安装。如果要这么做的话,我们先要安装一些开发包如gcc,flex,bison,libX11-devel freetype-devel 以及开发工具,等等。这些工具都是编译Wine源码所必须的。我们可以通过YUM命令来安装这些包。RedHat,Fedora,CentOS
&&&代码如下: # yum -y groupinstall 'Development Tools'
# yum -y install flex bison libX11-devel freetype-devel
然后,使用如下命令下载Wine最新的开发版本(1.7.29)以及解压源码包。
&&&代码如下: $ cd /tmp
$ wget http://citylan.dl.sourceforge.net/project/wine/Source/wine-1.7.29.tar.bz2
$ tar -xvf wine-1.7.29.tar.bz2 -C /tmp/
接下来,使用下列命令编译及安装Wine。
注:安装过程大概需要15-20分钟,这个时间由你的网络速度以及电脑硬件配置决定,在安装过程中需要root密码。32位系统
&&&代码如下: $cd wine-1.7.29/
$./tools/wineinstall
&&&代码如下: $ cd wine-1.7.29/
$ ./configure --enable-win64
# make install
Ubuntu,Debian 与 Linux Mint
在Ubuntu系统下,你可以使用官方的PPA方便的安装最新的Wine开发版本。打开一个终端并使用sudo权限执行下列命令。
&&&代码如下: $ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine 1.7 winetricks
注:在写这篇文章时,只能获取1.7.26,在官方的仓库中还没有更新到最新版本,但是当仓库更新到1.7.29后,使用上面的指令可以安装最新的版本。(译者:为毛我看了版本号是1.6.2......)
安装成功后,你可以安装或运行任何windows应用或游戏了,示例如下:
&&&代码如下: $ wine notepad
$ wine notepad.exe
$ wine c:\\windows\\notepad.exe
注:切记,这是一个开发版本,请勿在生产系统上安装它。建议这个版本仅作测试用。
大家感兴趣的内容
12345678910
最近更新的内容- 最好的系统光盘下载网站!
当前位置: >
> 详细页面
Ubuntu 14.04安装Wine的步骤
来源:系统之家
作者:qipeng
  如果你想要在Ubuntu上使用Windows应用,就需要用到Wine了,除了支持Linux系统外,Wine还可运行于其他系统,是个非常使用的软件,下面小编就以Ubuntu 14.04为例,给大家介绍下Ubuntu 14.04安装Wine的步骤。
  Ubuntu 14.04安装Wine的步骤
  1.添加PPA
  sudo add-apt-repository ppa:ubuntu-wine/ppa
  2.更新列表
  sudo apt-get update
  3.安装Wine
  sudo apt-get install wine1.7 winetricks
  为了避免错误大家可以使用以下命令
  sudo apt-get update
  上面就是Ubuntu 14.04安装Wine的方法介绍了,因为使用该方法安装的Wine可能不是最新版本,所以需要使用sudo apt-get update命令进行更新。
栏目热门教程
人气教程排行
热门系统下载
本站发布的系统与软件仅为个人学习测试使用,请在下载后24小时内删除,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件!如侵犯到您的权益,请及时通知我们,我们会及时处理。
Copyright&2011 系统之家(www.xitongzhijia.net) 版权所有 闽ICP备号-1wine 安装使用记录 - 简书
wine 安装使用记录
1. Wine程序安装
1.1 自带版本(不建议)
Ubuntu 16.04 默认自带1.6.2(),一般小程序运行也没什么大问题。
sudo apt install wine
1.2 最新版本Wine:
sudo add-apt-repository ppa:wine/wine-buildssudo apt-get updatesudo apt-get install --install-recommends winehq-devel安装步骤参考地址:http://wiki./Wine 和https://wiki.winehq.org/Ubuntu
安装后第一次程序启动过程会下载需要的win库包,按需安装即可。
2. 最新版本Winetricks:
wget chmod +x winetricks下载地址参考:http://forum./viewtopic.php?f=121&t=478871
2.1 通过winetricks安装必要的DLLs
./winetricks dlls gdiplus
必须./winetricks dlls vcrun2008 msxml6 corefonts./winetricks dlls d3dx9 d3dcompiler_43 xact_jun2010./winetricks dlls ie8./winetricks dlls wininet
其他建议安装的包colorprofile、corefonts、d3dx9、fontfix、fontsmooth-gray、fontsmooth-rgb、fontsmooth-bgr、gdiplus、mfc40、mfc42、msxml3、msxml4、msxml6、riched20、riched30、tahoma、urlmon、vb6run、vcrun6、vcrun2003、vcrun2005、vcrun2008、ie6、allfonts
3 安装最靠谱的Office 2007套件
Office 2007版本只需要在安装时输入一个序列号就可以激活,非常方便。而且基本功能也算比较全,SmartArt等新功能都有了。而且打开速度非常快,在我的x250+SSD环境下基本秒开。
不需要提前安装各种DLL,默认wine环境即可“开箱即用”,可见Office 2007版本的方便之处。
安装过程以干净的wine环境为基准,所以建议区别于默认的.wine目录,为office建立一个新的wineprefix。(其它程序也是一样,尽量都独立开,方便管理)
必须使用wine 32bit架构,因为Office 2007时代还没有64bit版本,且只有在wine 32bit架构下才能正常工作。
保持默认的Windows XP系统不要修改。
安装步骤:
不动默认的wineprefix(.wine),为Office 2007建立新的wineprefix,并修改wine为32bit架构export WINEARCH=win32 WINEPREFIX=~/.wineoffice
初始化新的32bit Arch wineprefix,并确认操作系统是Windows XP
winecfg 添加riched20为Native(Windows)(别退出上边的SHELL,否则再添加环境变量export WINEARCH=win32 WINEPREFIX=~/.wineoffice到新SHELL)
winecfg截图
下载Office 2007安装包和SP3包(SP3版本有另存为PDF功能)
安装"Office 2007安装包"和"sp3包"export WINEARCH=win32 WINEPREFIX=~/.wineoffice
cd /media/OFFICE12
wine ./setup.exe
可选:建议选择所有软件都安装在本地计算机,少一点后期麻烦
可参考URL:
4 安装Visio 2010
众所周知,Office套件是不包括Visio的,如需使用要单独安装。而且Visio与其它Office不同,最新的vsdx格式是2013版本才引进的,而且最低版本需要Visio 2010+Converter才能支持,Visio2007是不支持最新vsdx格式的。这也是为什么我安装完Visio 2007后无奈又安装了Visio 2010版本(Visio 2007版本使用没有任何问题,安装和使用的都不能有riched20 Override!!!否则输入框不能正常工作)。同时,安装完Visio 2010后还需要安装SP2包,以实现对vsdx格式的支持(目前有点问题,我还没有成功)。操作系统:WinXP安装DLL:vcrun2008/mfc90
安装过程如下:
export WINEARCH=win32 WINEPREFIX=~/.winevisio2010
winecfg 初始化新的wineprefix,并确认操作系统是Windows 7(不是XP)
wine ~/media/VISIO/setup.exe
安装Visio 2010
./winetricks2 dlls vcrun2008
安装必须的DLL,注意WINEPREFIX是否选对
wine ~/Download/visiosp2010-kb2687468-fullfile-x86-zh-cn.exe
安装VISIO SP2补丁
5. 安装Evernote
目前可用的版本只有:5.8.13.8152,可以Google一下下载链接。wine后可以正常使用。
Evernote版本截图
安装过程如下:
export WINEARCH=win32 WINEPREFIX=~/.wineevernote
winecfg 初始化新的wineprefix
wine ~/Download/setup.exe
解决乱码:最新版本的wine会自动映射Linux系统的可用字体到WinePrefix,所以不需要单独再安装字体,当然前提是宿主机的Linux系统已经有需要的字体。使用最新版本wine,Evernote 5.8版本只有笔记显示部分的标题栏中文是乱码(英文没总问题),而且乱码显示为方块,所以可以确认乱码的原因是:Evernote在标题栏调用的字体不支持中文显示,解决方法如下:
安装gdiplus(至少让弹框的菜单好看一些)./winetricks2 dlls gdiplus
修改注册表(最重要)运行命令wine regedit 修改[HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\FontSubstitutes] 如下键值:"MS Shell Dlg"="SimSun"
"MS Shell Dlg 2″="SimSun"
FontSubstitutes键值
错误解决方法收集
winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth &= 3.0.25 is in your
sudo apt install winbind
错误解决方法出处:
Note: command 'cabextract -q -d /home/ray/.wine/dosdevices/c:/windows/temp/_d3dx11_42 -L -F d3dx11_42x86* /home/ray/.cache/winetricks/directx9/directx_Jun2010_redist.exe' returned status 1. Aborting. 原因是下载文件出错,需要清除缓存文件,重新下载即可:
rm /home/sub/.cache/winetricks/directx9/directx_Jun2010_redist.exe
解决方法出处:
6.3 乱码解决
7. wine基础信息
7.1wine容器和架构
wine属于半虚拟化结构,默认情况下安装的Windows程序都属于全局的容器中(目录:~/.wine),在管理和可移值性就差一些。所以一般建议,为每类Windows程序(甚至每个Windows程序)建立自己独立的容器,每个容器分离开,这样各类的兼容包、字体和调用的DLL不同都不会有相互的影响,移值和删除操作都更加灵活。同时,每个容器可以定义程序的运行架构,如32bit或64bit,在安装只支持32bit环境的程序时非常有用。容器和架构操作方法:
export WINEARCH=win32 WINEPREFIX=~/.wineevernote
运行完上述命令后,这个SHELL会话的后续的命令都将只作用于WINEPREFIX指定的这个容器目录。
7.2 wineboot 命令
the initial creation and setup of a WINEPREFIX for wine(1). It can also perform a simulated reboot or shutdown to any applications running within the WINEPREFIX.
ray@ray-ThinkPad-X250:~/Documents/system/vm/wine$ wineboot -h
Usage: wineboot [options]
Display this help message
-e,--end-session
End the current session cleanly
-f,--force
Force exit for processes that don't exit cleanly
Perform initialization for first Wine instance
Kill running processes without any cleanup
-r,--restart
Restart only, don't do normal startup operations
-s,--shutdown
Shutdown only, don't reboot
-u,--update
Update the wineprefix directory
ray@ray-ThinkPad-X250:~/Documents/system/vm/wine$
7.3 Wine安装程序在Gnome里的desktop文件目录
~/.local/share/applications/wine
7.4 wine删除容器内安装的程序
export WINEPREFIX=~/.wineautocad
选定容器wine uninstaller
这么多年wine依旧是这样,一点一点的有进步,却总也不能让人满足。现在我所使用的Office 2010软件是可以正常运行的,在需要紧急处理一些文档(主要是排版)的时候,就会调出来用,但是也不会用太长时间,毕竟很多时候还是会有写小的问题,比如右键不好用等。令人可喜的是支持的功能和可用的软件已经越来越多,只能寄望于未来了。模拟WIN软件最好的方法还是Virtualbox 跑VM,然后运行需要的程序,当然这些程序最好不要依赖3D或声卡一类的,否则效果也不会特别好。
9. 深入研究文章64位linux安装32位wine方法
Building 32-bit Wine on a 64-bit (x86-64) systemIf you just want to use Wine, there is no need to compile it using the instructions here. Just go to the downloads page and click the link for your distribution. If you want to run 64-bit Windows programs, see Wine64. If you want to build Wine on a 32-bit system, see Recommended Packages.目录 1. Building 32-bit Wine on a 64-bit (x86-64) system 1. Ubuntu 2. Debian Testing 3. Debian Unstable (Sid) 1. Troubleshooting 4. Gentoo 5. openSUSE 6. Fedora 16 7. Fedora 17 8. CentOS 5 9. EL6 (RHEL6 and SL6)UbuntuYou will need to create a 32-bit chroot. For more information on chroot and Ubuntu, see /community/BasicChroot and /community/DebootstrapChroot First, install the dchroot and debootstrap packages and create /var/chroot:sudo apt-get install dchroot debootstrap sudo mkdir /var/chrootAdd the following to /etc/schroot/schroot.conf, replacing your_username and the Ubuntu version accordingly:[precise] description=Ubuntu Precise directory=/var/chroot users=your_username groups=sbuild root-groups=root Create a working installation of Ubuntu inside the chroot. Replace &precise& with your Ubuntu version and http://ubuntu.cs.utah.edu/ubuntu/ with an appropriate mirror from https://launchpad.net/ubuntu/+archivemirrors:sudo debootstrap --variant=buildd --arch i386 precise /var/chroot/ http://ubuntu.cs.utah.edu/ubuntu/Make apt-get work from within the chroot:sudo cp /etc/apt/sources.list /var/chroot/etc/apt/Enter the chroot:sudo chroot /var/chrootOnce inside the chroot, install the build dependencies:apt-get update apt-get build-dep wineDownload the Wine source tree into your chroot:apt-get install git git clone git://source.winehq.org/git/wineCompile:cd wine ./configure makeTo be able to use Wine from outside the chroot, Wine's dependencies must be installed outside the chroot. The easiest way is to exit the chroot and install a prepackaged copy of Wine:exit sudo apt-get install wineAfter all this you can run a Windows program from outside the chroot using your new build. For example:/var/chroot/wine/wine notepadDebian Testing1. apt-get the following packages:o o o oia32-libs (you need version 1.18 at least) libc6-dev-i386 lib32z1-dev ia32-libs-dev (it has the /usr/lib32/libpng.so, which seems to be required when installing TTF fonts) ooptionally, a bunch of other libraries: libxcursor-dev libfontconfig1-dev libldap2-dev libxslt-dev libgl1-mesa-dev libglu1-xorg-dev libgnutls-dev libxi-dev lib32ncurses5-dev libxrandr-dev libxxf86vm-dev2. Make symlinks (see below, in the Debian SID section, for the full list of symlinks):cd /usr/lib32 ln -s libdbus-1.so.3 libdbus-1.soThis is required as of
to prevent Wine warning that HAL cannot be found. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=. Download the wine source and assuming gcc and all needed development packages are installed (see Recommended Packages) you can compile wine using (you shouldn't need --prefix=... or --x-libraries=... with the latest Debian Unstable AMD64):2. ./configure 3. make make install4. If the configure command fails with &configure: error: C compiler cannot create executables& and you use gcc-4.1, install &gcc-4.1-multilib& to solve it. 5. Run wine by executing /emul/ia32-linux/usr/bin/wine (you can add the directory to the path or make a script). If wine complains that it can't find libwine.so.1 make sure /emul/ia32-linux/usr/lib is part of the LD_LIBRARY_PATH or run ldconfig -v.Debian Unstable (Sid)The build dependencies in the released Wine have most of what you need:sudo apt-get build-dep wineOn Debian you may need to add some more, or run the build-dep command after adding the APT Repository. To get Direct X working with nvidia, install the 32-bit drivers:sudo apt-get install nvidia-glx-ia32To add pulseaudio support, install the package lib32asound2-plugins:sudo aptitude install lib32asound2-pluginsRun configure with:CC=&gcc-4.4 -m32& LDFLAGS=&-m32 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32& ./configure -v It's likely that you will get some missing library warnings. To fix this, you need to hunt down the 32-bit development files for each missing library. It is not crucial to get rid of all the missing library warnings, but you should try to minimize them. For example,configure: libv4l 32-bit development files not found.is fixed by:sudo aptitude install lib32v4l-devIf all needed libraries are present there will be no missing-library warnings or errors anywhere. If you find that this process misses a library, then it means we are either missing a link or the ia32-libs package is missing the 32-bit version of the library. In either case, contact the Ubuntu package maintainer, Scott Ritchie, so things can be fixed. We explicitly set CC=&gcc-4.4 -m32&, as the 32-bit libraries are no longer provided for gcc-4.2 or earlier. Newer version of gcc also work. Update version of gcc as needed. Also, the LDFLAGS explicitly set 32-bit mode. Now build and install with:make sudo make installTroubleshootingIf you have problems with libjpeg, there is a confirmed bug. The work around is: You need to remove the version 0.62 and create a symbolic link to the version 0.8, probably both are installed into /usr/lib, in my case (i'm using debian amd64) are installed in /usr/lib32, i just type: $ ls | grep libjpeg, i've located the both libjpeg, deleted the 62 typing: # rm -f ./libjpeg.so.62 ./libjpeg.so.62.0.0 and create the two symlinks from version 0.8 typing: # ln -s ./libjpeg.so.8 ./libjpeg.so.62 and # ln -s ./libjpeg.so.8 ./libjpeg.so.62.0.0 and just compiled the wine again and problem solved, to assure that is the correct version of libjpeg just type: ./configure | grep jpeg before the make. I found that ./configure still gave me a libjpeg error, but programs that used libjpeg worked well.GentooNOTE: This will compile wine and install it into your system. It is a really bad idea to install stuff manually into your gentoo system. If you want to be on the safe side, omit the &make install& command. You can still run wine from the source directory using the wine wrapper found at the root of the directory. 1. Emerge wine and wine should install fine, if on the other hand you want to compile wine by hand follow the steps below. 2. Install the x86 compatibility libraries (emul-linux-x86-xlibs, emul-linux-x86-soundlibs, ..) 3. Download the wine source and assuming gcc and all needed development packages are installed (see Recommended Packages) you can compile wine using: configure --prefix=/emul/linux/x86/usr --x-libraries=/emul/linux/x86/usr/lib/X11 (in case of xorg 7.0, else*/usr/X11R6/lib),make depend && make, make install4. Run wine by executing /emul/linux/usr/bin/wine (you can also make a symlink /usr/bin/wine -& /emul/linux/usr/bin/wine and the same for wineserver, then you can just type wine). If wine complains that it can't find libwine.so.1 make sure /emul/linux/usr/lib is part of the LD_LIBRARY_PATH or run ldconfig -v. If nothing seems to work try using ebuild to compile it once and copy the source from /var/tmp/portage/wine-9999/work/wine somewhere. Ebuild /usr/portage/app-emulation/wine/wine-9999.ebuild fetch unpack compile. To update CVS add clean to the beginning.openSUSEMake sure you have the following 32 bit development packages installed in addition to Recommended Packages? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?capi4linux-32bit cups-libs-32bit fontconfig-devel-32bit freeglut-devel-32bit freetype2-devel-32bit gcc-32bit giflib-devel-32bit glibc-devel-32bit hal-32bit libjpeg-devel-32bit liblcms-devel-32bit libpng-devel-32bit libxml2-devel-32bit libxslt-devel-32bit Mesa-devel-32bit ncurses-devel-32bit openldap2-devel-32bit openssl-devel-32bit sane-32bit unixODBC-devel-32bit xorg-x11-devel-32bit xorg-x11-libICE-32bit xorg-x11-libICE-devel-32bit xorg-x11-libSM-devel-32bit ? ? ? ? ? ? ? ? ? ? ? ?xorg-x11-libX11-devel-32bit xorg-x11-libXext-32bit xorg-x11-libXext-devel-32bit xorg-x11-libXp-32bit xorg-x11-libXrender-devel-32bit xorg-x11-libXt-32bit zlib-devel-32bit Additional for SuSE 11.x: libasound2-32bit libcom_err-devel-32bit libgnutls26-32bit libgphoto2-32bit libopenssl0_9_8-32bitFor openSUSE 11.x you will need to create these symlinks:cd /usr/lib sudo ln -s libasound.so.2.0.0 libasound.so sudo ln -s libfreetype.so.6 libfreetype.so sudo ln -s libgphoto2.so.2.4.0 libgphoto2.so sudo ln -s libcups.so.2 libcups.so sudo ln -s libssl.so.0.9.8 libssl.so sudo ln -s libcrypto.so.0.9.8 libcrypto.so sudo ln -s libhal.so.1.0.0 libhal.so sudo ln -s libgphoto2_port.so.0.8.0 libgphoto2_port.so sudo ln -s libgnutls.so.26 libgnutls.so sudo ln -s libgstreamer-0.10.so.0.29.0 libgstreamer-0.10.so sudo ln -s libgstapp-0.10.so.0.24.0 libgstapp-0.10.so sudo ln -s libgstbase-0.10.so.0.29.0 libgstbase-0.10.so cd /lib sudo ln -s libdbus-1.so.3.4.0 libdbus-1.so sudo ln -s libkeyutils.so.1 /usr/lib/libkeyutils.so sudo ln -s libgobject-2.0.so.0.2800.0 /usr/lib/libgobject-2.0.so sudo ln -s libgmodule-2.0.so.0.2800.0 /usr/lib/libgmodule-2.0.so sudo ln -s libgthread-2.0.so.0.2800.0 /usr/lib/libgthread-2.0.so sudo ln -s libglib-2.0.so.0.2800.0 /usr/lib/libglib-2.0.soNote: the targets of the above symlinks may need to be adjusted depending on what versions of the libraries you have installed on your system. Run configure with:./configure --x-libraries=/usr/X11R6/libThe --x-libraries switch is important, otherwise it will pick up the 64bit X libraries and just not work.Fedora 16 Install the development packages needed to compile Wine as follows:yum install alsa-lib-devel.i686 alsa-lib-devel audiofile-devel.i686 audiofile-devel cups-devel.i686 cups-devel dbus-devel.i686 dbus-devel fontconfig-devel.i686 fontconfig-devel freetype.i686 freetype-devel.i686 freetype-devel giflib-devel.i686 giflib-devel lcms-devel.i686 lcms-devel libICE-devel.i686 libICE-devel libjpeg-turbo-devel.i686 libjpeg-turbo-devel libpng-devel.i686 libpng-devel libSM-devel.i686 libSM-devel libusb-devel.i686 libusb-devel libX11-devel.i686 libX11-devel libXau-devel.i686 libXau-devel libXcomposite-devel.i686 libXcomposite-devel libXcursor-devel.i686 libXcursor-devel libXext-devel.i686 libXext-devel libXi-devel.i686 libXi-devel libXinerama-devel.i686 libXinerama-devel libxml2-devel.i686 libxml2-devel libXrandr-devel.i686 libXrandr-devel libXrender-devel.i686 libXrender-devel libxslt-devel.i686 libxslt-devel libXt-devel.i686 libXt-devel libXv-devel.i686 libXv-devel libXxf86vm-devel.i686 libXxf86vm-devel mesa-libGL-devel.i686 mesa-libGL-devel mesa-libGLU-devel.i686 mesa-libGLU-devel ncurses-devel.i686 ncurses-devel openldap-devel.i686 openldap-devel openssl-devel.i686 openssl-devel zlib-devel.i686 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison libstdc++-devel.i686 pulseaudio-libs-devel.i686 gnutls-devel.i686 libgphoto2-devel.i686 openal-soft-devel openal-soft-devel.i686 isdn4k-utils-devel.i686 gsm-devel.i686 samba-winbind libv4l-devel.i686 cups-devel.i686 libtiff-devel.i686 gstreamer-devel.i686 gstreamer-plugins-base-devel.i686 gettext-devel.i686 libmpg123-devel.i686Run the configure script, compile Wine, and install it as follows:./configure make && make installFedora 17Install the development packages needed to compile Wine as follows:yum install alsa-lib-devel.i686 alsa-lib-devel audiofile-devel.i686 audiofile-devel cups-devel.i686 cups-devel dbus-devel.i686 dbus-devel fontconfig-devel.i686 fontconfig-devel freetype.i686 freetype-devel.i686 freetype-devel giflib-devel.i686 giflib-devel lcms-devel.i686 lcms-devel libICE-devel.i686 libICE-devel libjpeg-turbo-devel.i686 libjpeg-turbo-devel libpng-devel.i686 libpng-devel libSM-devel.i686 libSM-devel libusb-devel.i686 libusb-devel libX11-devel.i686 libX11-devel libXau-devel.i686 libXau-devel libXcomposite-devel.i686 libXcomposite-devel libXcursor-devel.i686 libXcursor-devel libXext-devel.i686 libXext-devel libXi-devel.i686 libXi-devel libXinerama-devel.i686 libXinerama-devel libxml2-devel.i686 libxml2-devel libXrandr-devel.i686 libXrandr-devel libXrender-devel.i686 libXrender-devel libxslt-devel.i686 libxslt-devel libXt-devel.i686 libXt-devel libXv-devel.i686 libXv-devel libXxf86vm-devel.i686 libXxf86vm-devel mesa-libGL-devel.i686 mesa-libGL-devel mesa-libGLU-devel.i686 mesa-libGLU-devel ncurses-devel.i686 ncurses-devel openldap-devel.i686 openldap-devel openssl-devel.i686 openssl-devel zlib-devel.i686 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison libstdc++-devel.i686 pulseaudio-libs-devel.i686 gnutls-devel.i686 libgphoto2-devel.i686 openal-soft-devel openal-soft-devel.i686 isdn4k-utils-devel.i686 gsm-devel.i686 samba-winbind libv4l-devel.i686 cups-devel.i686 libtiff-devel.i686 gstreamer-devel.i686 gstreamer-plugins-base-devel.i686 gettext-devel.i686 libmpg123-devel.i686Run the configure script, compile Wine, and install it as follows:./configure make && make installCentOS 5Here is a script that installs 32 bit wine-1.2.2 on a 64 bit centos 5. It downloads and builds all required packages. This builds wine using all cores on the computer, so watch out you don't explode it if someone else is on. This is what the script installs:yum groupinstall &Development Tools& yum install alsa-lib-devel audiofile-devel cups-devel dbus-devel fontconfig-devel freetype-devel giflib-devel hal-devel lcms-devel libICE-devel libjpeg-devel libpng-devel libSM-devel libusb-devel libX11-devel libXau-devel libXcomposite-devel libXcursor-devel libXext-devel libXi-devel libXinerama-devel llibxml2-devel libXrandr-devel libXrender-devel libxslt-devel libXt-devel libXv-devel libXxf86vm-devel mesa-libGL-devel mesa-libGLU-devel ncurses-devel openldap-devel openssl-devel pkgconfig sane-backends-devel xorg-x11-proto-devel glibc-devel prelink fontforge flex bison gnutls-devel pulseaudio-libs-devel gcc.i386 gcc-c++.i386 autoconf.i386 automake.i386 binutils.i386 ccache.i386 elf*.i386 libtool.i386 lua.i386 make.i386 pkgconfig.i386 patchutils.i386 tolua++.i386 bzip2-devel.i386 glibc-devel.i386 zlib-devel.i386 libX*.i386 libX*-devel.i386 mesa*-devel.i386 gphoto2-devel isdn4k-utils-devel XFree86-devel bison flex gcc prelink pkgconfig libstdc++-devel.i386 yum groupinstall &X Window System&You can get the Required Packages that are also needed to install wine. These are not in the centos 5 repositories so you must build them yourself. There are also rpms in it that you must install.Contents: gnutls-2.8.6.tar.bz2, flex-2.5.35.tar.bz2, libtiff-3.5.5-2.i386.rpm , libtool-ltdl-1.5.22-7.el5_4.i386.rpm, mpg123-1.3.1-1.el5.rf.i386.rpm, openal-0.0.9-0.9.cvs.el5.kb.i386.rpm, openal-0.0.9-0.9.cvs.el5.kb.x86_64.rpm, libtool-ltdl-1.5.22-7.el5_4.x86_64.rpm, mpg123-1.9.1-1.el5.rf.x86_64.rpm, and wine-1.2.2.tar.bz2EL6 (RHEL6 and SL6)Required packages for proper building of 32-bit Wine on 64-bit EL6yum install alsa-lib-devel.i686 libsndfile-devel.i686 readline-devel.i686 glib2.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 pulseaudio-libs-devel.i686 cmake portaudio-devel.i686 openal-soft-devel.i686 audiofile-devel.i686 freeglut-devel.i686 lcms-devel.i686 libieee1284-devel.i686 openldap-devel.i686 unixODBC-devel.i686 sane-backends-devel.i686 fontforge libgphoto2-devel.i686 isdn4k-utils-devel.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 libXxf86dga-devel.i686 libXxf86vm-devel.i686 giflib-devel.i686 cups-devel.i686 gsm-devel.i686 libv4l-devel.i686 fontpackages-devel ImageMagick-devel.i686 openal-soft-devel.i686 libX11-devel.i686 docbook-utils-pdf libtextcat tex-cm-lgcTrying to rebuild the epel 6 wine srpms (wine-1.2.3-1.el6.src.rpm) in 32-bit mode, I had to do the following manual changes to the spec files:? ?portaudio.spec: add an &export CC='gcc -m32 -march=i686'& in an %ifarch %{ix86} wine.spec: add an &export CC='gcc -m32 -march=i686'& in an %ifarch %{ix86}, and remove 'TARGETFLAGS=&& %{?_smp_mflags}' after %{make}The resulting packages (src and binary) are available here /opensource/rpms/centos6-rpms/ Then, I could build the rpms in this order:rpmbuild rpmbuild rpmbuild rpmbuild-ba -ba -ba -ba--sign --sign --sign --sign--target --target --target --targeti686 i686 i686 i686portaudio.spec openal-soft.spec nss-mdns.spec wine.spec rpmbuild -ba --sign wine-docs.spec?We should probably also have a page called UsingWineOn64bit for users (as opposed to developers).CategoryDevelopmentWineOn64bit ( 18:42:20 由 KyleAuble 编辑)
更多相关文档

我要回帖

更多关于 linux mint wine 安装 的文章

 

随机推荐