Ubuntu安装微信

1.安装wine

sudo dpkg --add-architecture i386 

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key


//根据你的系统执行不同的命令
Ubuntu 22.04
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources

Ubuntu 20.04
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources

Ubuntu 18.04
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources

执行安装
sudo apt install --install-recommends wine-stable

参考:https://wiki.winehq.org/Ubuntu

查看版本:
caoxinyu@caoxinyu-Mi-Laptop-Pro-15:~$ wine --version
wine-6.0.3 (Ubuntu 6.0.3~repack-1)

安装微信:

微信官网下载安装包,执行一下命令:
wine WeChatSetup.exe

Ubuntu安装微信_第1张图片

乱码问题:

复制Windows系统C:/windows/Fonts 到Ubuntu ~/.wine/drive_c/windows/Fonts/ 目录下

重启电脑

输入框不显示输入法的问题:

Ubuntu安装微信_第2张图片

下载https://download.csdn.net/download/u013270444/86748292
解压复制到 ~/.cache/winetricks
执行 winetricks riched20(如果提示没有winetricks 则执行sudo apt-get install winetricks)
重启电脑

Ubuntu安装微信_第3张图片

参考:
https://blog.csdn.net/Steven_Start/article/details/117379049

https://blog.csdn.net/cxrshiz7890/article/details/106185468

你可能感兴趣的:(电脑周边,ubuntu,linux,运维)