由于上游并未提供 rsync,镜像站只同步了 ubuntu/debian 部分。
首先启用 32 位架构
{{sudo}}dpkg --add-architecture i386
之后信任来自 https://dl.winehq.org/ 的公钥
{{sudo}}wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
新增 /etc/apt/sources.list.d/winehq.list
,内容为
deb [arch=amd64,i386 signed-by=/usr/share/keyrings/winehq-archive.key] {{endpoint}}/{{os}}/ {{release}} main
通过以下命令安装 winehq
{{sudo}}apt update {{sudo}}apt install --install-recommends winehq-stable