日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Ubuntu17.10下編譯安裝Wine3.0RC1詳解

另許多Linuxer期待的Wine 3.0 RC1 已經(jīng)發(fā)布了,這是即將發(fā)布的Wine 3的候選版本。它標志著代碼凍結期的開始。請大家給這個版本一個很好的測試,以使Wine 3.0盡可能做的更好。

Wine (“Wine Is Not an Emulator” 的遞歸縮寫)是一個能夠在多種 POSIX-compliant 操作系統(tǒng)(諸如 Linux,Mac OSX 及 BSD 等)上運行 Windows 應用的兼容層。另外英語單詞wine是葡萄酒的意思。

這個版本有什么新的變化?:

  • Direct3D 11在AMD和Intel GPU上默認啟用。
  • 支持macOS的AES加密。
  • 任務調(diào)度器的實現(xiàn)。
  • reg.exe工具中的注冊表導出支持。
  • Progman DDE支持。
  • OLE數(shù)據(jù)緩存改進。
  • MSHTML中的更多事件支持。
  • 中繼調(diào)試改進。
  • 各種錯誤修復。

該源現(xiàn)在可用。 二進制軟件包正在構建過程中,應該很快會好。

下面詳細講解在ubuntu 17.10下編譯安裝 Wine 3.0 RC1 的過程步驟及問題解決。

首先安裝依賴的庫:

sudo apt-get install flex bison qt4-qmake

sudo apt-get install libfreetype6-dev

sudo apt-get install libjpeg-dev libpng-dev libxslt-dev libxml2-dev

sudo 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

sudo apt-get install prelink

sudo apt-get install libasound2-dev

到官網(wǎng)下載最新的源代碼:

wget https://dl.winehq.org/wine/source/3.0/wine-3.0-rc1.tar.xz

下載之后解壓,我把wine-3.0-rc1.tar.xz源代碼解壓到當前用戶目錄下,進入目錄:

tar jxvf wine-3.0-rc1.tar.xz
cd wine-3.0-rc1

./configure --enable-win64

......

configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libudev 64-bit development files not found, plug and play won't be supported.
configure: libcapi20 64-bit development files not found, ISDN won't be supported.
configure: libcups 64-bit development files not found, CUPS won't be supported.
configure: fontconfig 64-bit development files not found, fontconfig won't be supported.
configure: libgsm 64-bit development files not found, gsm 06.10 codec won't be supported.
configure: libkrb5 64-bit development files not found, Kerberos won't be supported.
configure: libtiff 64-bit development files not found, TIFF won't be supported.
configure: libmpg123 64-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 64-bit development files not found (or too old), OpenAL won't be supported.
configure: openal-soft 64-bit development files not found (or too old), XAudio2 won't be supported.
configure: libldap (OpenLDAP) 64-bit development files not found, LDAP won't be supported.

configure: WARNING: libgnutls 64-bit development files not found, no schannel support.

configure: Finished.  Do 'make' to compile Wine.

然后開始編譯了,編譯和安裝的過程很簡單。

直接運行make編譯,等等等吧,可以喝杯咖啡。一個多小時編譯完成。

然后運行

sudo make install

會自動編譯Wine 3.0 RC1并安裝程序

運行命令檢查Wine版本:

wine64 --version

wine-3.0-rc1

然后創(chuàng)建一個wine鏈接,否則很多程序不能用, 比如winecfg。

sudo ln -s /usr/local/bin/wine64 /usr/local/bin/wine

安裝好之后的相關配置

首先要添加wine的執(zhí)行文件目錄到PATH環(huán)境變量,也可以不添加如果不想修改環(huán)境變量,可以使用下面的方式。

在啟動.exe程序的時候先export導入路徑到環(huán)境變量。這個可以寫在腳本里面來啟動。

運行winecfg程序來設置相關的參數(shù),建議選定Windows版本為Windows 7。

其他的相關參數(shù),根據(jù)自己的習慣愛好來選定吧。

終端運行winecfg

如下圖:

如上圖,winecfg運行的時候,窗口上的文字都是 ||(||!) 這些,那么要做下一步中文支持。

首先復制Windows下的simsun.ttc字體到~/.wine/drive-c/windows/fonts/目錄下。

sudo cp simsun.ttc ~/.wine/drive_c/windows/Fonts/

然后新建一個zh.reg文件,然后打開它,輸入以下內(nèi)容。然后回答命令行,使用regedit zh.reg來導入到注冊表。

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,238"="simsun"
"Arial CYR,204"="simsun"
"Arial Greek,161"="simsun"
"Arial TUR,162"="simsun"
"Courier New"="simsun"
"Courier New CE,238"="simsun"
"Courier New CYR,204"="simsun"
"Courier New Greek,161"="simsun"
"Courier New TUR,162"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,238"="simsun"
"Times New Roman CYR,204"="simsun"
"Times New Roman Greek,161"="simsun"
"Times New Roman TUR,162"="simsun"
"Tms Rmn"="simsun"

現(xiàn)在再運行winecfg看看,如下圖:


網(wǎng)頁名稱:Ubuntu17.10下編譯安裝Wine3.0RC1詳解
文章URL:http://www.5511xx.com/article/djjcjjh.html