北海亭

Ubuntu 13.10 编译安装Wine 1.7的步骤

电脑办公  2025-11-04 00:19:51  热度:13℃

先安装依赖的库:

sudo apt-get install flex bison qt4-qmake

apt-get install libfreetype6-dev

apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-dev

apt-get install libxrender-dev

sudo apt-get install libgl1-mesa-dev

sudo apt-get install libglu1-mesa-dev

sudo apt-get install freeglut3-dev

apt-get install prelink

apt-get install libasound2-dev

下载最新的源代码:

http://prdownloads.sourceforge.net/wine/wine-1.7.4.tar.bz2

http://mirrors.ibiblio.org/wine/source/1.7/wine-1.7.4.tar.bz2

Wine 1.7.4 发布

解压源代码到当前用户目录下,进入目录:

tar jxvf wine-1.7.4.tar.bz2

cd wine-1.7.4

./configure --enable-win64

creating Makefile rules... done

configure: creating ./config.status

config.status: creating Make.rules

config.status: creating Make.tmp

config.status: creating include/config.h

config.status: linking AUTHORS to dlls/shell32/AUTHORS

config.status: linking tools/winewrapper to wine

config.status: linking tools/winewrapper to wine64

config.status: executing include/stamp-h commands

config.status: executing dlls/gdi32/dibdrv commands

config.status: executing dlls/gdi32/enhmfdrv commands

config.status: executing dlls/gdi32/mfdrv commands

config.status: executing dlls/kernel32/nls commands

config.status: executing dlls/user32/resources commands

config.status: executing dlls/wineps.drv/data commands

config.status: executing include/wine commands

config.status: executing Makefile commands

configure: libxcursor development files not found, the Xcursor extension won’t be supported.

configure: libxi development files not found, the Xinput extension won’t be supported.

configure: libxrandr development files not found, XRandr won’t be supported.

configure: libxinerama development files not found, multi-monitor setups won’t be supported.

configure: libxcomposite development files not found, Xcomposite won’t be supported.

configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won’t be supported.

configure: OpenCL development files not found, OpenCL won’t be supported.

configure: libdbus development files not found, no dynamic device support.

configure: libgnutls development files not found, no schannel support.

configure: lib(n)curses development files not found, curses won’t be supported.

configure: libsane development files not found, scanners won’t be supported.

configure: libv4l development files not found.

configure: libgphoto2 development files not found, digital cameras won’t be supported.

configure: libgphoto2_port development files not found, digital cameras won’t be auto-detected.

configure: liblcms2 development files not found, Color Management won’t be supported.

configure: gstreamer-0.10 base plugins development files not found, gstreamer support disabled

configure: OSS sound system found but too old (OSSv4 needed), OSS won’t be supported.

configure: libcapi20 development files not found, ISDN won’t be supported.

configure: libcups development files not found, CUPS won’t be supported.

configure: fontconfig development files not found, fontconfig won’t be supported.

configure: libgsm development files not found, gsm 06.10 codec won’t be supported.

configure: libtiff development files not found, TIFF won’t be supported.

configure: libmpg123 development files not found (or too old), mp3 codec won’t be supported.

configure: libopenal development files not found (or too old), OpenAL won’t be supported.

configure: libldap (OpenLDAP) development files not found, LDAP won’t be supported.

configure: Finished.  Do ’make’ to compile Wine.

现在可以编译了。运行make,等待吧。一个小时候编译完成。然后运行make install

或者可以以非root用户的身份进入tools目录,运行:

./wineinstall

它会自动编译并安装程序,中间会提示输入管理员密码。

安装到了/usr/local/bin目录下

运行命令检查版本:

ine64 --version

wine-1.7.4

然后创建一个wine链接,否则很多程序不能用, 比如winecfg。

sudo ln -s /usr/local/bin/wine64 /usr/local/bin/wine

最近更新

  • Pi 币最新消息:技术指标显示多头正在准备卷土重来

    Pi 币最新消息:技术指标显示多头正在准备卷土重来

    2025-11-1074阅读

  • Solana 接近 180 美元——分析师预测上涨空间 80%,RSI 信号表明深度下跌

    Solana 接近 180 美元——分析师预测上涨空间 80%,RSI 信号表明深度下跌

    2025-11-1070阅读

  • 分析师称,目前最值得投资的加密货币是这款 0.035 美元的 DeFi 代币,而不是以太坊 (ETH),原因如下

    分析师称,目前最值得投资的加密货币是这款 0.035 美元的 DeFi 代币,而不是以太坊 (ETH),原因如下

    2025-11-1062阅读

  • XRP 鲸鱼活动与机构积累趋势:链上信号作为价格周期的领先指标

    XRP 鲸鱼活动与机构积累趋势:链上信号作为价格周期的领先指标

    2025-11-1075阅读

  • 加密货币市场暴跌——谁在崛起

    加密货币市场暴跌——谁在崛起

    2025-11-1077阅读

  • 神秘鲸鱼活动引发对 Ethena 和主要代币的猜测

    神秘鲸鱼活动引发对 Ethena 和主要代币的猜测

    2025-11-1058阅读

  • Memecoin 崩盘重创柴犬!SHIB 的回归之路可能就此终结

    Memecoin 崩盘重创柴犬!SHIB 的回归之路可能就此终结

    2025-11-1037阅读

  • PUMP 价格上涨,多头能否维持趋势还是前方有阻力?

    PUMP 价格上涨,多头能否维持趋势还是前方有阻力?

    2025-11-1049阅读

  • 加密货币市场中异常的鲸鱼活动:以太坊和主要代币波动背景下散户投资者的战略切入点

    加密货币市场中异常的鲸鱼活动:以太坊和主要代币波动背景下散户投资者的战略切入点

    2025-11-1057阅读

  • 十月市场震荡后,Tether 发行 10 亿美元 USDT

    十月市场震荡后,Tether 发行 10 亿美元 USDT

    2025-11-1053阅读

  • 精选专题