当前位置:首页 > 系统运维 > 正文内容

ubuntu12.04 命令行安装Wine1.7的 ***

a8116255321年前 (2005-09-01)系统运维26

打开终端执行一下命令,在安装过程中会提示你是否同意协议,点击Enter:

sudo add-apt-repository ppa:ubuntu-wine/ppa

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: libO *** esa 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: libg *** development files not found, g *** 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

扫描二维码推送至手机访问。

版权声明:本文由2345好导航站长资讯发布,如需转载请注明出处。

本文链接:http://www.2345hao.cn/blog/index.php/post/15576.html

分享给朋友:

“ubuntu12.04 命令行安装Wine1.7的 *** ” 的相关文章

windows 7查看电脑近期使用情况确定有没有被他人使用

windows 7查看电脑近期使用情况确定有没有被他人使用

我一个朋友最近装装了Windows 7,他总感觉有人用了他的电脑,但是一直不确定,他想知道有没有人动用他的电脑,问我有没有办法 我说设置一下就行了: 启动Windows 7,在搜索栏中输入编辑组,马上就搜索到了编辑组策略,点击即可启动程序编辑组策略。依次展开组策略左侧树形列表的计算机配置/管理模...

解决windows 7无法将程序锁定到任务栏或附到开始菜单的方法

解决windows 7无法将程序锁定到任务栏或附到开始菜单的方法

出现该问题的原因是由于使用第三方优化软件消除快捷方式的小箭头引起的。 1、在开始搜索框中键入“regedit”,按回车键打开注册表编辑器。 2、依次定位到以下分支:HKEY_CLASSES_ROOTlnkfile。 3、在lnkfile项上鼠标右键单击“新建”——“字符串值”。...

windows 7如何给c盘扩容 图解windows 7 64位系统C盘扩容方法(自

windows 7如何给c盘扩容 图解windows 7 64位系统C盘扩容方法(自

用Windows 7久了,C盘越来越大,原来50G的空间基本用完了,又不想重装系统,就想着能不能直接扩容。 在网上搜了半天,看了无数教程,都写得不明不白的,结合了几篇教程才终于搞明白。 重新总结一下,方便有需要的人。 所用软件: http://www.jb51.net/softs/57895...

windows 7系统怎么取消禁ping命令?

windows 7系统怎么取消禁ping命令?

当我在虚拟机的linux系统中ping本机的ip发现ping不通,而本机可以ping通虚拟机中的ip。应该是出于安全考虑吧,Windows 7默认在防火墙里禁止了。 1、查看主机ip 打开“开始”程序中的“附件”,找到“命令提示符”打开。输入命令:ipconfig,可以看到本机的ip是192.1...

Windows7播放电影视频蓝屏无论什么格式都会蓝屏

Windows7播放电影视频蓝屏无论什么格式都会蓝屏

问:我在Windows 7 Ultimate X64下播放电影视频时,不管什么格式都会蓝屏,错误代码“0x00000124”。换解码器、播放器不行,换驱动、内存也不管用。在不同的电脑上也试过,仍然蓝屏。请问是哪里的问题,如何解决 答:64位 Windows 7直接使用PotPlayer x64就...

Ubuntu 14.10上安装新的字体图文教程

Ubuntu 14.10上安装新的字体图文教程

像Ubuntu这种开源系统,一般都自带有好多漂亮的字体,不过假如您想使用您熟悉的字体,可以通过在Ubuntu或其它Linux系统上安装字体,帮助用户在使用开源OS平台上更好的视图体验。 软件名称:Ubuntu 14.04 官方正式版软件大小:752MB更新时间:2014-05-07 Ubun...