CenOS安裝Wine

來源:互聯網
上載者:User

CenOS安裝Wine

來源:tecadmin.net作者:tecadmin.net

原文地址:CenOS安裝Wine

Wine(“Wine Is Not an Emulator” 的首字母縮寫)是一個能夠在多種 POSIX-compliant 作業系統(諸如 Linux,Mac OSX 及 BSD 等)上運行 Windows 應用的相容層。

Wine (Wine Is Not an Emulator)[即Wine不是一個模擬器]是一個在Linux和UNIX之上的,Windows 3.x和 Windows APIs的實現。注意,Wine不是Windows模擬器,而是運用API轉換技術實做出Linux對應到Windows相對應的函數來調用DLL以運行Windows程式。Wine可以工作在絕大多數的UNIX版本下,包括Linux, FreeBSD, 和 Solaris。另外,也有適用於Mac OS X的Wine程式。Wine不需要Microsoft Windows, 因為這是一個完全由百分之百的免費程式碼群組成的。如果有可利用的副本的話,它也可以隨意地使用本地系統的DLLs。Wine的發布是完全公開原始碼的,並且是免費發行的。–來源於百度百科

這篇文章主要記錄了如何在CentOS 6.5上安裝Wine 1.7.24開發版1.安裝所需要的包

[plain]view plaincopy
  1. yumgroupinstallDevelopmentTools

[plain]view plaincopy
  1. yuminstalllibX11-develfreetype-develzlib-devellibxcb-devel

2.下載並解壓Wine

cd到要下載的目錄下

[plain]view plaincopy
  1. wgethttp://prdownloads.sourceforge.net/wine/wine-1.7.24.tar.bz2

[plain]view plaincopy
  1. tarxjfwine-1.7.24.tar.bz2

備忘:當前最新最穩定的版本是1.8.4,如果你需要安裝穩定版請點此連結下載,方法是一樣的。

3.安裝Wine

這裡使用的是源碼編譯,執行以下命令開始編譯,配置好的話30分鐘左右可以完成,配置差點的話可能需要更久的時間,耐心等待。

32位作業系統

[plain]view plaincopy
  1. cdwine-1.7.24/

[plain]view plaincopy
  1. ./configure

[plain]view plaincopy
  1. make&&makeinstall

64位作業系統

[plain]view plaincopy
  1. cdwine-1.7.24/

[plain]view plaincopy
  1. ./configure-enable-win64

[plain]view plaincopy
  1. make&&makeinstall

4.檢查版本

可以使用下面的命令檢查你安裝的Wine的版本

[plain]view plaincopy
  1. wine–version

[plain]view plaincopy
  1. wine64–version

最後

安裝過程中每一步都要多看安裝列印日誌,是否安裝成功。如發現 error/need xxx package 可以用 yum install -y xxx安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.