在Debian 10上安装Wine 6
Wine 6.0刚刚发布!按照本教程学习如何在Debian 10上安装Wine 6。 葡萄酒(w ^ine 一世s ñ一个 Ë模拟器) 是一个允许在Unix上运行Microsoft Windows程序(包括DOS,Windows 3.x,Win32和Win64可执行文件)的程序。它由一个程序加载器和一个库(称为Winelib)组成,该程序加载器加载并执行Microsoft Windows二进制文件,该库使用其Unix,X11或Mac等价物实现Windows API调用。该库还可用于将Windows代码移植到本地Unix可执行文件中。
根据 葡萄酒公告页面,Wine 6.0现在可用。它附带了许多错误修复程序,您可以在 更改日志页面。
在Debian 10上安装Wine 6
安装官方酒库
Wine由默认的Debian主存储库提供。但是,Wine 4.0是最新的可用版本。
apt-cache policy wine
wine:
Installed: (none)
Candidate: 4.0-2
Version table:
4.0-2 500
500 http://deb.debian.org/debian buster/main amd64 Packages
为了能够安装Wine 6,您需要安装Official Wine仓库,如下所示;
安装Wine仓库签名密钥。
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
安装存储库;
sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/debian/ buster main'
安装OBS Faudio存储库
稳定葡萄酒的软件包也将需要FAudio库。因此,运行以下命令以安装OBS Faudio存储库;
wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add -
sudo add-apt-repository 'deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./'
在Debian 10上启用32位系统支持
为了能够运行32位Windows应用程序,您需要在64位系统上启用32位体系结构。
sudo dpkg --add-architecture i386
更新程序包缓存;
apt update
验证是否支持32位体系结构;
dpkg --print-foreign-architectures
i386
在Debian 10上安装Wine 6
现在,您可以通过运行以下命令在Debian 10上安装Wine 6。
apt install --install-recommends winehq-stable
验证Wine安装
运行以下命令以检查已安装的WIne版本,以验证其安装方式;
wine --version
wine-6.0
重启系统
现在,您可以运行系统重新引导以确保已设置Wine环境。
systemctl reboot
使用Wine在Debian 10上运行Windows应用程序
然后,您可以使用Wine在Debian 10上运行Windows应用程序,例如以标准非root用户身份运行Putty。
wine putty.exe
如果提示您安装Wine Mono / Gecko,请单击“安装”并继续。
现在,您可以根据需要在Debian 10上使用Wine 6来运行其他应用程序。
这使我们结束了有关如何在Debian 10上安装Wine 6的指南的结尾。
进一步阅读
其他教程
在Ubuntu 20.04上安装Wine 6
在CentOS 8上安装Wine 4
如何在Debian 9.8上安装Wine 4.0
。