11

Ubuntu-20.04.1-通过wine安装Wechat(附报错解决)

 3 years ago
source link: https://www.ishells.cn/archives/ubuntu-wine-error
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Ubuntu-20.04.1-通过wine安装Wechat(附报错解决)

17 次访问 2021-06-01
Scroll Down

1、在Ubuntu上安装新版wine

# 避免版本冲突,删除现存的Wine软件sudo apt remove winehq-stable wine-stable wine1.6 wine-mono wine-geco winetricks # 添加32系统支持sudo dpkg --add-architecture i386 # 使用wget下载并添加官方 Wine 存储库密钥wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - # 用 PPA 添加 FAudio 依赖sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport # 添加存储库sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu $(lsb_release -cs) main" # 安装 Winesudo apt update && sudo apt install --install-recommends winehq-stable # 查看Wine版本wine --version

2、下载安装Wechat

tencent_wechat_setup_download_url

# 命令行使用wine启动安装进程wine WeChatSetup.exe

此时会发现安装路径提示框是看不到字体的,包括安装成功之后,输入提示框也是看不到字体的。这问题就很难受了。

忘记截图了。

3、解决微信输入框不显示字体

# 执行命令安装缺失包winetricks riched20

如果因为网络问题,命令执行失败,下载如下两个文件,并将其放入指定目录下。
W2KSP4_EN.EXE -> 目标路径:~/.cache/winetricks/win2ksp4

InsMsiW.exe -> 目标路径:~/.cache/winetricks/msls31

完事之后通过wine重启Wechat,命令行报错:

ixme:font:get_name_record_codepage encoding 20 not handled, platform 1
# 解决报错sudo apt install winbindshutdown -r 0 # 重启之后发现问题解决,输入框可以看到提示字体了

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK