Ubuntu-20.04.1-通过wine安装Wechat(附报错解决)
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.
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/win2ksp4InsMsiW.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
-
11
更新于 2021/08/11 | 创建于 2021/08/11 如何在Ubuntu 20.04上安装和使用Wine Wine是一个开源兼容层,允许您在诸如Linux,FreeBSD和MacOS等UNIX的操作系统上运行...
-
5
libmemcached编译安装报错解决记录 | 张戈博客Jager · 3月5日 · 2017年web · 网站优化 ·
-
3
psr/cache 通过composer 安装报错syntax error, unexpected '|', expecting variable (T_VARIABLE) ...
-
8
解决 pip 安装第三方包时因 SSL 报错 发表于 2022-03-08 分类于
-
4
要在 Ubuntu Linux 中运行 Microsoft Windows 应用程序,Wine 或 CrossOver(付费版)是一个不错的选择。以下...
-
4
windows 10 WSL安装linux子系统报错0x8007019e解决办法
-
3
服务器上的 Docker 是 1.13 版本的有点老了,于是打算升级一下; 结果发现加入了 Docker 源之后使用 yum 安装报错了…,这里总结一下; centos7中使用yum安装docker报错解决方法
-
6
开放麒麟安装过程中报错解决 2022-09-07 openKylin ...
-
1
-
4
只要稍加努力,你可以使用 Wine 来
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK