参考:https://ubuntuhandbook.org/index.php/2023/01/wine-8-0-stable-install-ubuntu/#google_vignette
Wine官网:https://www.winehq.org/
尝试直接下载 wine-8.0.2.tar.xz 本地编译运行后,终端无法调用wine命令
安装过程
- 开启32位安装
sudo dpkg --add-architecture i386
- 创建文件夹存储keys
sudo mkdir -p /etc/apt/keyrings
- 下载配置 GPG key
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/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
- 更新软件源
sudo apt update
- 安装 WineHQ 8.0
sudo apt install --install-recommends winehq-stable
- 查看配置
winecfg
- 使用-在.exe文件右键,使用Wine打开