ubuntu安装windows程序
以安装微信为例
-
sudo dpkg –add-architecture i386
-
wget -O – https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add –
-
Ubuntu 20.04 : sudo add-apt-repository \'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main\' Ubuntu 19.10 : sudo add-apt-repository \'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main\' Ubuntu 18.04 : sudo add-apt-repository \'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main\' Ubuntu 16.04 : sudo add-apt-repository \'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main\' Linux Mint 19.x: sudo add-apt-repository \'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main\' Linux Mint 18.x: sudo add-apt-repository \'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main\'
-
sudo apt install –install-recommends winehq-stable
-
wine WeChatSetup.exe(默认位置安装,需提前下好WeChatSetup.exe,并在程序对应路径执行该命令)
-
winecfg (设置~)
命令行输入 winecfg ,点击”选择应用”,点击”WeChat.exe”,在下面windows版本选择版本(推荐win10) -
wine /home/name/.wine/drive_c/Program\ Files/Tencent/WeChat/WeChat.exe(启动)