看到Wine出了新版本,似乎功能有所增强,便在Fedora8下卸掉了刚安装的Wine( yum remove wine ),打算安装上最新的。
1.下载源码。
wget http://prdownloads.sourceforge.net/wine/wine-0.9.60.tar.bz2
或者 wtet http://ibiblio.org/pub/linux/system/emulators/wine/wine-0.9.60.tar.bz2
2.安装依赖的开发包。
这个需要根据各个系统而定,我的缺少x develeopment libary 和 freetype libary。
不过有个更绝的方法,把Wine可能用到的包全部安上。wine wiki上提供了各个系统所推荐的包。
Fedora下是:
alsa-lib-devel audiofile-devel esound-devel glib2-devel libogg-devel libvorbis-devel pkgconfig qt-devel fontconfig-devel freetype-devel libICE-devel libSM-devel libX11-devel libXau-devel libXcursor-devel libXdmcp-devel libXext-devel libXft-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel libjpeg-devel libmng-devel libpng-devel mesa-libGL-devel xorg-x11-proto-devel libXi-devel sane-backends-devel libieee1284-devel libusb-devel libXmu-devel ncurses-devel gnutls-devel libgcrypt-devel libgpg-error-devel libXv-devel opencdk-devel expat-devel cups-devel e2fsprogs-devel krb5-devel openssl-devel giflib-devel openldap-devel lcms-devel cyrus-sasl-devel libxml-devel libxml2-devel libxslt-devel libxml libXxf86dga-devel libXxf86vm-devel isdn4k-utils-devel libao-devel hal-devel dbus-devel libXcomposite-devel
索性来个 yum install ……(上面一长串包列表)。这样的话,所有的依赖就解决了。
3.安装 Wine
tar xvf wine-0.9.60.tar.bz2
cd wine-0.9.60
Wine 人性化工作做得很好,不需要./configure,make, make install,只需要运行以下命令就完成了所有的工作:
./tools/wineinstall
Categories