请选择 进入手机版 | 继续访问电脑版

个人学习记录

 找回密码
 立即注册
搜索
热搜: Qiqi
查看: 3826|回复: 0

Ubuntu 20.04安装微信、QQ

[复制链接]

13

主题

14

帖子

327

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
327
发表于 2022-2-12 11:32:44 | 显示全部楼层 |阅读模式
本文为CSDN博主「宏玄」的原创文章
原文链接:https://blog.csdn.net/u013049553/article/details/115243047
————————————————


在Ubuntu系统上安装微信、QQ等软件是件麻烦事,总免不了遇到各种各样的问题,目前采用的是 deepin-wine 的方式来安装。

安装版本:
微信:2.6.8.65(此版本的微信要求 deepin-wine 版本 >= 2.18-19)
QQ:9.1.8
deepin-wine:2.18-22
1.安装必要工具及deepin-wine的依赖
  1. sudo apt install wget g++
复制代码

已经安装的可以跳过

2.安装deepin-wine
  1. mkdir /tmp/deepintemp
  2. cd /tmp/deepintemp
  3. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
  4. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
  5. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
  6. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-tools_2.18-22~rc0_i386.deb
  7. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine-binfmt_2.18-22~rc0_all.deb
  8. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
  9. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
  10. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine-dev_2.18-22~rc0_i386.deb
  11. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine-dbg_2.18-22~rc0_i386.deb
  12. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
  13. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
  14. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
  15. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
  16. wget http://packages.deepin.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
  17. wget http://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
  18. wget http://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb

  19. # 加32位支持
  20. sudo dpkg --add-architecture i386
  21. sudo apt update
  22. # 开始安装
  23. sudo dpkg -i *.deb
  24. # 安装依赖
  25. sudo apt install -fy

  26. # 没报错的话,deepin-wine环境已经安装好了
  27. rm -rfv /tmp/deepintemp
复制代码
3.安装微信
  1. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.8.65deepin0_i386.deb
  2. sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb
复制代码
解决微信无法输入中文的问题:
  1. sudo vim /opt/deepinwine/tools/run.sh
复制代码
将 WINE_CMD 那一行修改为:
  1. WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"
复制代码
并在该行下方添加如下内容:
  1. export GTK_IM_MODULE="fcitx"
  2. export QT_IM_MODULE="fcitx"
  3. export XMODIFIERS="@im=fcitx"
复制代码
如图:


4.安装QQ
  1. wget http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.qq.im/deepin.com.qq.im_9.1.8deepin0_i386.deb
  2. sudo dpkg -i deepin.com.qq.im_9.1.8deepin0_i386.deb
复制代码




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|春晖在线 ( 苏ICP备2021040071号-1 )

GMT+8, 2024-10-4 00:35 , Processed in 0.048274 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表