[App Sharing] 使用Qemu User运行Wine(支持全架构)
Tofloor
poster avatar
MMHMM
Moderator
2023-04-30 23:06
Author

用Qemu User运行Wine(理论支持全架构)

提醒

Qemu 的转换效率较低,如果可以的话建议使用其它方案以提升运行效率
此方案理论上支持全架构( amd64、arm64、mips64、loongarch64、riscv64、ppc64、s390x…… ),只要能跑 Qemu User 即可,在 x86、arm64 真机测试通过
Wine 运行器版本要求:≥3.2.0

一个坑

下面提供的运行环境安装包会与其它运行库/其它跨架构翻译软件冲突,如果发生冲突可以移除掉对应的运行环境安装包
如安装 box86/64、exagear、lat 可能会与 amd64/i386 运行环境安装包冲突

使用 Wine 运行器搭建环境

  1. 先安装 Qemu User
    图片.png
  2. 安装 i386 + amd64 运行库
    图片.png
    图片.png
  3. 安装 Wine
    图片.png
    图片.png
    (选择需要的 Wine 安装)

然后按照正常使用 Wine 的方法使用即可

常见问题

安装运行库时出现以下提示

图片.png
代表您已经安装了对应架构的运行库,不需要再另外安装了

手动搭建环境

安装 Qemu User

sudo apt install binfmt-support qemu-user qemu-user-static -y

安装运行库

架构 运行库下载
i386 https://code.gitlink.org.cn/gfdgd_xi/runtime-for-qemu/raw/branch/master/i386-runtime-for-qemu_1.0.0_all.deb
amd64 https://code.gitlink.org.cn/gfdgd_xi/runtime-for-qemu/raw/branch/master/amd64-runtime-for-qemu_1.0.0_all.deb
Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-04-30 23:18
#1

like

Reply View the author
hanzn-zzx
deepin
2023-04-30 23:27
#2

like

好教程! @pzm9012收录了

Reply View the author
青稚°
Moderator
2023-04-30 23:32
#3
hanzn-zzx

like

好教程! @pzm9012收录了

嗯,like

Reply View the author
gfdgd_xi
Moderator
2023-05-01 03:44
#4

那个运行库的地址可能以后会用不了,我 gitlink 账号迟早会彻底封死(现在还可以用)
下面是新链(传到 Github 了):
amd64:https://github.com/rain-gfd/wine-download/releases/download/1.0.1-amd64-runtime-for-qemu/amd64-runtime-for-qemu_1.0.1_all.deb
i386:https://github.com/rain-gfd/wine-download/releases/download/1.0.0-i386-runtime-for-qemu/i386-runtime-for-qemu_1.0.0_all.deb
joy

Reply View the author