介绍
Ubuntu16.04系统 请运行下面代码:
cd
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
此时wine的版本为3.0
。
如果不是Ubuntu16.04系统
,参考官网。
wine常用的命令
wine xx.exe (安装)
winecfg (wine的设置)
wine taskmgr (任务管理器)
wine uninstaller (卸载软件)
wine regedit (注册表)
wine notepad (记事本)
wineboot ( 重启wine)