wine官网
https://wiki.winehq.org/Ubuntu_zhcn
如果您使用的是 64 位系统,请开启 32 bit 架构支持(如果您之前没有开启的话):
sudo dpkg --add-architecture i386
下载添加仓库密钥:
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
并添加仓库:
Ubuntu 22.04
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
更新源
sudo apt update
安装wine
sudo apt install --install-recommends winehq-stable
标签:安装,sudo,apt,etc,https,ubuntu,winehq,wine
From: https://blog.csdn.net/lcc2001/article/details/141275317