歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux服務器 >> 使用 Wine 在 Linux 上運行 Google Chrome

使用 Wine 在 Linux 上運行 Google Chrome

日期:2017/3/2 16:44:34   编辑:Linux服務器

雖然 Google 表示 Google Chrome 浏覽器會提供 Linux 平台的版本,但是仍然需要假以時日。如果你身邊既沒有 Windows 系統,又想要急著體驗 Chrome,不妨考慮在 Linux 上通過 Wine 來運行它。

以下是在 Linux 上運行 Google Chrome 的步驟:

1 安裝 Wine,確保使用 1.1.3 最新版。
2 下載並安裝 winetricks:

wget http://www.kegel.com/wine/winetricks
sudo cp winetricks /usr/sbin


3 安裝依賴和 Flash 插件:

winetricks riched20 riched30 flash


4 安裝字體(可選):

winetricks allfonts


5 下載 Chrome 安裝程序:

wget http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe


6 安裝 Chrome:

wine chrome_installer.exe


7 在安裝完成後,先不要運行 Chrome,使用文本編輯器編輯 Google Chrome.desktop 文件:

Exec=env WINEPREFIX="/home/mimir/.wine" wine "C:\\windows\\profiles\\mimir\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe"


將上面的內容改成:

Exec=env WINEPREFIX="/home/mimir/.wine" wine "C:\\windows\\profiles\\mimir\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe" --new-http --in-process-plugins


注意,你需要將其中的 mimir 更換成你的用戶名。

8 回到桌面,點擊 Google Chrome 運行程序
截圖:

使用 Wine 在 Linux 上運行 Google Chrome

Copyright © Linux教程網 All Rights Reserved