Ubuntu16.04安装QQ和微信(亲测有效)

1.首先安装deepin-wine环境

git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
cd deepin-wine-for-ubuntu
./install.sh

2.下载QQ和微信

QQ下载地址
微信下载地址
QQ选择9.1.8deepin0_i386.deb,微信选择2.6.2.31deepin0_i386.deb。在下载文件的地址里打开终端运行下面代码:

sudo dpkg -i deepin.com.qq.im_9.1.8deepin0_i386.deb
sudo dpkg -i deepin.com.wechat_2.6.2.31deepin0_i386.deb

3.遇到问题并解决

1.QQ的问题(输入法)
打开终端cd进入deepin-wine的脚本目录

cd /opt/deepinwine/tools/
sudo chmod 777 run.sh  #文件默认为只读,修改权限

在run.sh文件里的# Peng Hao [email protected]下加入以下内容(run.sh可以用gedit或vim打开):

export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx" 
export XMODIFIERS="@im=fcitx"

QQ还要解决图片无法显示的问题,关闭QQ,在终端输入以下命令:

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
sudo sysctl -p
sudo rm -rf ~/.deepinwine/Deepin-QQ

之后重启QQ就好了。

2.微信的问题(提示版本过低)

在终端执行以下命令:

 wget -qO- https://deepin-wine.i-m.dev/setup.sh | sudo sh
 sudo apt-get install deepin.com.wechat

猜你喜欢

转载自blog.csdn.net/csyz2019/article/details/106960855