How to Install Deepin WeChat, QQ IM in Ubuntu 20.04 [The Easy Way]

Last updated: February 8, 2021

This simple tutorial shows how to install WeChat, QQ instant messenger, Ali Wangwang, QQ Music, QQ Video, iQIYI easily from Deepin repository.

For those doing business or having friends / family members in China, it’s hard to avoid using these top apps. Thanks to wine and Deepin Linux, they are working quite good in Linux without native support.

Though these wine applications are maintained by Deepin Linux repository, there’s open-source project ported them into Ubuntu, Debian, Linux Mint, make installing them as easy as Ubuntu PPA packages.

1.) First open terminal from system application launcher. When it opens, run command:

wget -O- https://deepin-wine.i-m.dev/setup.sh | sh

The command will enable 32 bit architecture (if you haven’t already), add apt repository 301 redirect to Deepin repository, set the priority to make your system only install the previous apps from that repository, and add XDG_DATA_DIRS settings for app shortcuts.

Type your user password if asks and hit Enter.

2.) After that, you can either install WeChat, QQ, and so forth via Synaptic Package Manager:

or running apt command in terminal to select install an application as you want:

sudo apt install com.qq.weixin.deepin

The list of app packages include:

  • WeChat: com.qq.weixin.deepin
  • QQ IM: com.qq.im.deepin
  • Dingding: com.dingtalk.deepin
  • Ali Wangwang: com.taobao.wangwang.deepin
  • QQ Music: com.qq.music.deepin
  • QQ video: com.qq.video.deepin
  • iQIYI: com.iqiyi.deepin

Once installed, log out and back in to open it from system application launcher and enjoy! Note the first launch may take a few seconds configuring the wine environment.

Clear cache or remove WeChat, QQ IM, etc.

The app data is stored in user’s Documents folder. Remove the relevant sub-folders will clear the app caches.

The Deepin wine platform is located in .deepinwine folder. Since it’s a hidden file folder, you need to press Ctrl+H to show / hide it in your file browser. And you can remove it to clear the Wine configurations.

To remove these China’s top apps, simply run apt remove command in terminal (WeChat in the case):

sudo apt remove --autoremove com.qq.weixin.deepin

To remove the repository configurations added via step 1.), run commands to remove the 3 files one by one:

sudo rm /etc/apt/preferences.d/deepin-wine.i-m.dev.pref
sudo rm /etc/apt/sources.list.d/deepin-wine.i-m.dev.list
sudo rm /etc/profile.d/deepin-wine.i-m.dev.sh

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

6 responses to How to Install Deepin WeChat, QQ IM in Ubuntu 20.04 [The Easy Way]

  1. Hi,

    When install wechat, I got the error on Ubuntu 20.10:

    The following packages have unmet dependencies:
    libgirepository-1.0-1 : Breaks: python-gi (< 3.34.0-4~) but 3.30.4-1 is to be installed
    E: Unable to correct problems, you have held broken packages.

  2. It just works for me on Ubuntu 20.04

  3. I’m using PopOS 20.04, it works, but only first time, after that I can’t open wechat anymore.
    Now I’m using from this tutorial.

    https://github.com/qo6xup6/ubuntu-deepin-wechat

  4. Unfortunately, stopped working in 22.04:

    The following packages have unmet dependencies:
    libldap-2.4-2 : Depends: libsasl2-2 (>= 2.1.27.1) but 2.1.27+dfsg2-3ubuntu1 is to be installed
    E: Unable to correct problems, you have held broken packages.

    Maybe I should just install Deepin as I rely on Wechat and similar Chinese softwarew

  5. I am using Ubuntu 22,04 and installed the WeChat fine without error, but it won’t run. Any suggestion?
    Thanks.

  6. I installed it this way in Tuxedo OS. It works well except that the icon is constantly highlighted (“demand attention”) in KDE. Is there a way to fix this small issue?