Ubuntu如何安装wine命令

方法一:
Wine (“Wine Is Not an Emulator” 的首字母缩写)是一个能够在多种 POSIX-compliant 操作系统(诸如 Linux,Mac OSX 及 BSD 等)上运行 Windows 应用的兼容层。 Wine 不是像虚拟机或者模拟器一样模仿内部的 Windows 逻辑,而是將 Windows API 调用翻译成为动态的 POSIX 调用,免除了性能和其他一些行为的内存占用,让你能够干净地集合 Windows 应用到你的桌面。

下面跟大家分享如何在Ubuntu 14.04上安装Wine
1.添加PPA
sudo add-apt-repository ppa:ubuntu-wine/ppa
2.更新列表
sudo apt-get update
3.安装Wine
sudo apt-get install wine1.7 winetricks
为了避免错误大家可以使用以下命令
sudo apt-get update

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

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update && sudo apt-get install wine1.5

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下安装wine?在ubuntu下安装wine的方法

    wine,我每次安装ubuntu的时候都会装它,因为很多时候,它可以让我们的使用其他平台的软件,那么如何安装wine呢?下面小编要为大家带来在ubuntu下安装wine的方法!一起去看看吧! 以下是一 ...

  • Ubuntu上安装GNOME命令行终端Terminator方法

    这里指的Terminator并不是Ubuntu现在默认自带的命令行终端,而是GNOME图形化界面下的gnome-terminal,现在就来看一下Ubuntu上安装GNOME命令行终端Terminato ...

  • 如何在ubuntu下安装wine

    如何在ubuntu下安装wine

  • Ubuntu上安装GNOME命令行终端Terminator的教程

    对Linux系统进行管理时,我们经常需要通过终端窗口输入各种操作命令.在GNOME集成桌面环境下,GNOME终端(gnome-terminal)是我们经常使用的终端程序,每次运行该程序都将打开一个单独 ...

  • ubuntu安装wine的两种方式及简单使用说明

    linux下有一种可以安装windows程序的工具,就是wine.目前它并不是可以运行所有的win程序,所以不要寄太高的期望. 操作方法 01 对于常用图形界面的用户,可以通过软件管理中心来安装win ...

  • 如何在Ubuntu系统中安装Wine

    基于其友好的工作界面和安全的账户管理方式,Ubuntu系统被越来越多的用户接受并投入使用,占据了操作系统市场的一席之地.但是伴随而来的兼容性问题却阻碍了系统普及的脚步,许多程序仅支持微软Windows ...

  • ubuntu下安装和卸载wine-qq的方法

    ubuntu安装了wine qq怎么去卸载呢?下面我们分别来演示如何卸载它们 1、安装wine 按ctrl+alter+T打开终端输入以下两条命令 sudo apt-get update sodo a ...

  • 在Linux系统上安装Wine的教程

    Wine,一个在Linux平台上非常受欢迎并且强大的开源应用,有了它,我们可以在Linux平台上完美运行Windows应用与游戏. WineHQ团队,近期宣布了一个新的开发版本Wine1.7.29.这 ...

  • windows操作系统向ubuntu过渡安装常用软件

    Ubuntu简介 Ubuntu(乌班图)是一个以桌面应用为主的Linux操作系统,其名称来自非洲南部祖鲁语或豪萨语的“ubuntu”一词,意思是“人性”.“我的存在是因为大家的存在”,是非洲传统的一种 ...