[Others] deep23如何安装原生wine
Tofloor
poster avatar
bigben446
deepin
2025-05-17 18:57
Author

yarn在linux下打包win exe程序需要wine

但是deepin23运行:sudo apt install wine报错:

E: 软件包 wine 没有可安装候选

Reply Favorite View the author
All Replies
BigFish
deepin
2025-05-17 19:19
#1

linux 依赖wine 永远搞不好。

Reply View the author
bigben446
deepin
2025-05-17 19:26
#2

一个系统最重要的是兼容,这样用起来才方便,而不是各种新特性和新奇的功能,毕竟系统是用来用的,而不是geeker玩的

在大模型的提示下,解决了wine的安装问题:

启用32位支持

sudo dpkg --add-architecture i386

添加 wineHQ 官方源

sudo mkdir -pm755 /etc/apt/keyrings

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources

Deepin 23 目前基于 Debian bookworm(12),所以用 bookworm 源。

更新源并安装 wine

sudo apt update

sudo apt install --install-recommends winehq-stable

验证安装

wine --version

Reply View the author
米饭虚拟机
deepin
2025-05-17 19:59
#3

试试这个:sudo apt install deepin-wine-staging

Reply View the author
deepin
2025-05-18 00:05
#4

没有原始wine,但是有打包的其他版本的wine
staging和wine6、wine8都是wine。staging版本号是最高的,挺好用的
image.png

Reply View the author
deepin
2025-05-18 00:07
#5
bigben446

一个系统最重要的是兼容,这样用起来才方便,而不是各种新特性和新奇的功能,毕竟系统是用来用的,而不是geeker玩的

在大模型的提示下,解决了wine的安装问题:

启用32位支持

sudo dpkg --add-architecture i386

添加 wineHQ 官方源

sudo mkdir -pm755 /etc/apt/keyrings

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources

Deepin 23 目前基于 Debian bookworm(12),所以用 bookworm 源。

更新源并安装 wine

sudo apt update

sudo apt install --install-recommends winehq-stable

验证安装

wine --version

不懂就问,winehq和GE-proton哪个香一点?

Reply View the author
早起的虫儿有鸟吃
deepin
2025-05-19 15:01
#6

没有原始wine,但是有打包的其他版本的wine
staging和wine6、wine8都是wine。staging版本号是最高的,挺好用的
image.png

deepin-wine已经升级到wine10了?

Reply View the author
deepin
2025-05-20 09:27
#7
早起的虫儿有鸟吃

deepin-wine已经升级到wine10了?

对啊。好用的嘞。除了崩铁打不开,原神反作弊。我觉得很多东西都能用了,zzz能玩

Reply View the author