以安装微信为例

  1. sudo dpkg –add-architecture i386

  2. wget -O – https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add –

  3.  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\'
    
  4. sudo apt install –install-recommends winehq-stable

  5. wine WeChatSetup.exe(默认位置安装,需提前下好WeChatSetup.exe,并在程序对应路径执行该命令)

  6. winecfg (设置~)
    命令行输入 winecfg ,点击”选择应用”,点击”WeChat.exe”,在下面windows版本选择版本(推荐win10)

  7. wine /home/name/.wine/drive_c/Program\ Files/Tencent/WeChat/WeChat.exe(启动)

版权声明:本文为sxgsxg原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/sxgsxg/p/13614363.html