参考文档:https://my.oschina.net/ztguang/blog/3192811
系统环境:Fedora release 34 (Thirty Four)
安装顺序:
1、通过软件中心安装Winetricks
原因:先安装Wine后,无法安装Winetricks,报错提示Winetricks所需的依赖包无法替换当前的Wine安装的依赖包
2、建立文件目录
作用:指定Wine的WINEPREFIX安装目录,以及WeChatSetup.exe存放
3、sudo dnf install wine
这里的可能出现无法安装的问题,建议依次尝试(1)winehq-stable(2)winehq-devel(3)winehq-staging
4、sudo dnf install cabextract wine-mono *winbind*
5、cd到第2步创建的目录
export WINEARCH=win32 WINEPREFIX=/home/你的目录/
6、winecfg
选择windows7,然后点击确定
7、winetricks riched20 richtx32 corefonts
8、安装微信
wine WeChatSetup.exe
至此,已经全部安装完成,以下是遇到的一些问题:
微信输入信息的时候,中文显示为方框,这个问题拷贝一些字体,到你的WINEPREFIX目录下,windows/system/Fonts下即可
同时在菜单处没有微信的图标,这个问题我重启操作系统后就正常了。
我的安装的wine版本如下:
执行命令:rpm -qa|grep wine
wine-filesystem-6.8-1.fc34.noarch
wine-core-6.8-1.fc34.x86_64
wine-common-6.8-1.fc34.noarch
winetricks-20210206-1.fc34.noarch
wine-dxvk-dxgi-1.8.1-2.fc34.i686
wine-dxvk-dxgi-1.8.1-2.fc34.x86_64
wine-wingdings-fonts-6.8-1.fc34.noarch
wine-webdings-fonts-6.8-1.fc34.noarch
wine-times-new-roman-fonts-6.8-1.fc34.noarch
wine-tahoma-fonts-6.8-1.fc34.noarch
wine-systemd-6.8-1.fc34.noarch
wine-system-fonts-6.8-1.fc34.noarch
wine-symbol-fonts-6.8-1.fc34.noarch
wine-small-fonts-6.8-1.fc34.noarch
wine-ms-sans-serif-fonts-6.8-1.fc34.noarch
wine-mono-6.1.1-1.fc34.noarch
wine-marlett-fonts-6.8-1.fc34.noarch
wine-fixedsys-fonts-6.8-1.fc34.noarch
wine-courier-fonts-6.8-1.fc34.noarch
wine-arial-fonts-6.8-1.fc34.noarch
mingw64-wine-gecko-2.47.2-2.fc34.noarch
mingw32-wine-gecko-2.47.2-2.fc34.noarch
wine-fonts-6.8-1.fc34.noarch
wine-core-6.8-1.fc34.i686
wine-dxvk-d3d9-1.8.1-2.fc34.i686
wine-dxvk-1.8.1-2.fc34.i686
wine-dxvk-1.8.1-2.fc34.x86_64
wine-dxvk-d3d9-1.8.1-2.fc34.x86_64
wine-alsa-6.8-1.fc34.x86_64
wine-pulseaudio-6.8-1.fc34.x86_64
wine-capi-6.8-1.fc34.x86_64
wine-cms-6.8-1.fc34.x86_64
wine-desktop-6.8-1.fc34.noarch
wine-ldap-6.8-1.fc34.x86_64
wine-openal-6.8-1.fc34.x86_64
wine-opencl-6.8-1.fc34.x86_64
wine-twain-6.8-1.fc34.x86_64
wine-alsa-6.8-1.fc34.i686
wine-pulseaudio-6.8-1.fc34.i686
wine-capi-6.8-1.fc34.i686
wine-ldap-6.8-1.fc34.i686
wine-openal-6.8-1.fc34.i686
wine-opencl-6.8-1.fc34.i686
wine-twain-6.8-1.fc34.i686
wine-cms-6.8-1.fc34.i686
wine-6.8-1.fc34.x86_64
微信:3.2.1