看到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