Skip to content

0x00_.wine

Gary Chan edited this page Mar 22, 2020 · 7 revisions
  • How to install Wine>5.0

https://wiki.winehq.org/Ubuntu

https://itsfoss.com/wine-5-release/

$ sudo dpkg --add-architecture i386 
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key && rm winehq.key
# For Ubuntu 18.04 and 19.04, add the FAudio dependency with this PPA. Ubuntu 19.10 doesn’t need it.
$ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
$ sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu $(lsb_release -cs) main"
  • winecfg
    • Wine Mono 安装器安装Window系统
    • Wine Gecko 安装器
    • 配置系统Win10、分辨率等:133dpi最佳
$ winecfg 
wine: created the configuration directory '/home/gary/.wine'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
...
  • 采用winetricks-zh~/.wine容器中安装riched20、ole32、cjkfonts等DLL,其中cjkfonts下载安装速度感人,riched20、ole32则太慢,通过从这里下载的win2ksp4+winxpsp3解压到安装缓存~/.cache/winetricks中快速完成
$ winetricks-zh
# Select the default wineprefix
# Install a Windows DLL or component
## ole32, riched20
# Install a font
## cjkfonts
Clone this wiki locally