Ubuntu 13.10 编译安装Wine 1.7的步骤

先安装依赖的库:

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

(0)

相关推荐

  • ubuntu 13.10安装oracle sdk和PyCharm教程详解

    操作方法 01 今天绿茶小编要为大家介绍的是ubuntu 13.10安装oracle sdk和PyCharm教程,了解ubuntu系统的朋友应该都知道较新版本的ubuntu中没有包含Oracle Ja ...

  • Ubuntu 13.04下安装了lazarus后一直crash怎么办

    安装了 Ubuntu 13.04 后,发现 appmenu 已经很好用了,无需再将其删除。但是在安装了 lazarus (from source) 后,它一直 crash,经查是 appmenu 的问 ...

  • Ubuntu 12.10下安装 Oracle Java分享教程

    下面将给大家介绍如何在 Ubuntu 操作系统下如何安装 Oracle 的 Java Runtime 和 SDK 。 默认的 Ubuntu 安装完毕后,系统内会内置一个开源的 Java SE ,还有 ...

  • 在Ubuntu 11.10上安装Marlin文件浏览器的方法

    觉得Nautilus很无聊?厌倦了Thunar?对摆脱Dolphin很绝望?那么也许现在是时候去尝试一下新的文件浏览器了. Marlin是一个轻量级的文件浏览器,拥有大部分文件浏览器的基本特性,反应灵 ...

  • Ubuntu系统中编译安装Vim的教程

    简介Vim是从vi发展出来的一个文本编辑器.代码补完.编译及错误跳转等方便编程的功能特别丰富,在程序员中被广泛使用.和Emacs并列成为类Unix系统用户最喜欢的编辑器. 对于大多数用户来说,Vim有 ...

  • Ubuntu如何安装wine命令

    方法一: Wine ("Wine Is Not an Emulator" 的首字母缩写)是一个能够在多种 POSIX-compliant 操作系统(诸如 Linux,Mac OSX ...

  • WinXP硬盘安装Ubuntu 11.10双系统全程图解

    Ubuntu 11.10正式版出来有段时间了,许多朋友还在用wubi安装,其实,Windows XP下硬盘安装Ubuntu 11.10双系统其实也很简单的,Ubuntu 11.10的安装过程跟11.0 ...

  • U盘安装Ubuntu 12.10 图文教程(ultraiso)

    Ubuntu可以用多种方法进行安装,刻录光盘安装太费事而且浪费,而采用wubi只能进行简单地安装无法达到具体的应用,硬盘安装其实也很简单,但是很多新手又嫌太繁琐,新手不太好掌握,现在介绍一下使用Ult ...

  • Win7硬盘安装Ubuntu 12.10图文教程

    把准备好的Ubuntu 12.10 iso用压缩软件或者虚拟光驱打开,找到casper文件夹,复制里面的initrd.lz和vmlinuz到C盘,把.disk文件夹也复制到C盘,然后在把iso也拷贝到 ...