ubuntu16.04安装wine2.0 staging

来源:互联网 发布:apm性能监控 java 编辑:程序博客网 时间:2024/06/09 16:55

网上安装wine的教程很多,但是很多都很坑爹,本文在ubuntu16.04, 4.10.0-27 generic kernel实测没毛病,拒绝坑爹技术博文,从你我做起。

先来看看wine-2.0有哪些新特性:

Wine 2.0 release highlights:

1、support for Microsoft Office 2013 

     2、the 64-bit support on macOS.

     3、support for Unicode 9.0

       4、better HiDPI scaling

     5、GStreamer 1.0 support

             6、an updated Gecko engine

        7、More Direct3D 10 and 11 features

              8、And much more, see the announcement

     The source is available from the following locations:http://dl.winehq.org/wine/source/2.0/wine-2.0.tar.bz2http://mirrors.ibiblio.org/wine/source/2.0/wine-2.0.tar.bz2     Binary packages for various distributions will be available from:  http://www.winehq.org/download     You will find documentation on http://www.winehq.org/documentation     You can also get the current source directly from the gitrepository. Check http://www.winehq.org/git for details.
    我只测试了从wine官方源安装了ewine-staging,以下是安装过程:
    1、添加PPA:sudo add-apt-repository ppa:wine/wine-builds
如果是64位系统,要是使能32位体系结构:sudo dpkg --add-architecture i386
      2、更新apt源并安装wine:  sudo apt-get update  
          sudo apt-get install --install-recommends wine-staging
       下载的东西比较多,时间可能会有点长,完成后就可以找到wine了:/opt/wine-staging/bin/wine
    /opt/wine-staging/bin/winecfg
这个winecfg我不知道咋用,第一次要下载好多的API,之后重启电脑,就可以愉快的使用wine来安装windows程序了。
     3、删除wine可以直接使用命令: sudo apt remove wine2.0 wine-staging && sudo apt autoremove