【Linux】Ubuntu安装微信&QQ
作者:互联网
目录
目前,采用的是 deepin-wine 的方式在Ubuntu系统上安装微信、QQ等软件。
安装版本:
- 微信:2.6.8.65(此版本的微信要求 deepin-wine 版本 >= 2.18-19)
- QQ:9.1.8
- deepin-wine:2.18-22
1.安装必要工具及deepin-wine的依赖:
sudo apt install wget g++
2.安装deepin-wine:
mkdir /tmp/deepintemp
cd /tmp/deepintemp
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-tools_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine-binfmt_2.18-22~rc0_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine-dev_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine-dbg_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget http://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
wget http://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb
# 加32位支持
sudo dpkg --add-architecture i386
sudo apt update
# 开始安装
sudo dpkg -i *.deb
# 安装依赖
sudo apt install -fy
# 没报错的话,deepin-wine环境已经安装好了
rm -rfv /tmp/deepintemp
3.安装微信:
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.8.65deepin0_i386.deb
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb
解决微信无法输入中文的问题:
sudo vim /opt/deepinwine/tools/run.sh
将 WINE_CMD 那一行修改为:
WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"
并在该行下方添加如下内容:
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export XMODIFIERS="@im=fcitx"
4.安装QQ:
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.qq.im/deepin.com.qq.im_9.1.8deepin0_i386.deb
sudo dpkg -i deepin.com.qq.im_9.1.8deepin0_i386.deb
注意:
目前存在一点小问题在输入框中无法正常显示中文文字,但是不影响文字的发送。(可能是我环境的问题,这里提出来说明一下)
但是,文字可以发送:
标签:QQ,微信,deepin,Ubuntu,wget,deb,packages,com,wine 来源: https://blog.csdn.net/weixin_52058417/article/details/123624727