比思論壇

標題: ARM ChromeOS Linux 裝 WINE [打印本頁]

作者: pebblecough    時間: 4 天前
標題: ARM ChromeOS Linux 裝 WINE
最近再試 ChromeOS 入面個 Crostini (已行到 Debian 12 bookworm) 裝 Box64 同 WINE
WINE 9.0 可以行 WoW64 去行 32-bit x86 program

試幾個方法都唔得, 最後搵到喺 Crostini 入面裝 Pi-Apps (https://pi-apps.io/)
再喺入面裝 Box64 同 WINE, 得咗!

不過裝 Box64 前, 最好喺 crosh 度 set 咗 container 做 privileged=true 先

1. ctrl+alt+t or go to chrome-untrusted://crosh, and type: shell
2. enter: vmc container termina your_container --privileged true (我要開住 penguin 先可以 set 到 penguin 做 privileged=true)

再加 set box64.conf 入 binfmt

1. sudo apt install binfmt-support
2. sudo nano /usr/share/binfmts/box64.conf
box64.conf 內容:
package box64
interpreter /usr/local/bin/box64
magic \x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00
mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff

3. update binfmt:

sudo update-binfmts --import box64.conf
sudo update-binfmts --enable
sudo update-binfmts --display

仲有要裝埋 zenity, 唔係 winetricks 開唔到

Pi-Apps 裝個 WINE 仲會自動先 download 要用嘅 Windows package, 好過自己搞

不過未試到裝 Office 365, 但 Office 2010 入到 setup, 係唔知係咪 MS cut 咗 key server, 未過到 check key




歡迎光臨 比思論壇 (http://bbb-ccc.online/) Powered by Discuz! X2.5