Install WeChat client on Ubuntu/Debian and other Linux systems

【Write in front】

Since my working environment is basically under Ubuntu, and Ubuntu often fails to log in when using the web version of WeChat, in order to be able to use WeChat in the Linux system, I looked for a way online. Unexpectedly, a master actually did it. Hereby share it.

【installation steps】

In fact, it only takes two steps to install, which is relatively simple:

1. Add a warehouse (When using it for the first time, you need to run the following command to add the transplanted warehouse to the system.)

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

apt-get2. Application installation (from now on, you can use a series of commands to install, update and uninstall various applications just like ordinary software packages . For example, to install WeChat, you only need to run the following commands)

sudo apt-get install com.qq.weixin.deepin

3. Other applications

Replace com.qq.weixin.deepinwith the following package names to continue installing other applications:

application Package names
WeChat com.qq.weixin.deepin
QQ com.qq.im.deepin
TIM com.qq.office.deepin
DingTalk com.dingtalk.deepin
Aliwangwang com.taobao.wangwang.deepin
QQ Music com.qq.music.deepin
QQ video com.qq.video.deepin
IQIYI com.iqiyi.deepin

 4. If the download fails during apt-get, you only need to change the wifi and run it again.

【common problem】

1. No application icon?

Just log in to the system again, log out or restart the computer. (icon to go to program search five)

2. WeChat cannot be started

The latest version may encounter this problem, which WINEPREDLLis related to environment variables. Please refer to issue#310 .

3. The container is reset

Every time you start the application, you find that the previous wine configuration or in-app configuration is lost? Especially TIM, I found that the chat files and everything were gone. It is recommended to refer to issue#270 .

4. The icon displays abnormally

This is related to the desktop environment. There are many Linux distribution desktops with various layouts, and not every one of them has controls corresponding to the [Windows system tray].

  • If it is the Cinnamon desktop environment of Linux Mint, it can basically be used normally. (However, there are some problems with multiple displays. You need to set the left display as the main screen)

  • If it is Ubuntu's Gnome desktop environment, the taskbar is very awkward and becomes a floating dialog box. You can install the Gnome Shell plug-in.

    TopIcons Plus solves the problem.

    As for the plug-in installation method, go out and turn left to the search engine. A faster method is to sudo apt-get install gnome-shell-extension-top-icons-plus gnome-tweakslog out and log in again and enable the corresponding plug-in in the tweak tool.

  • I haven't tried KDE and the like, so please explore on your own.

 【Uninstall software】

Uninstallation and cleaning can be divided into the following four levels from shallow to deep.

If you just want to clear the APP account configuration, please follow 1the cleanup; if you find that the program crashes, please follow 1-2the cleanup; if you need to uninstall the APP, follow 1-2-3the cleanup; if you want to return everything to the original starting point, perform 1-2-3-4the cleanup.

  1. Clean application runtime directory

    For example, QQ/TIM will save account configuration, chat files, etc. ~/Documents/Tencent Filesin the directory, while WeChat will ~/Documents/WeChat Filesdelete these folders to remove account configuration and other data.

  2. Clean the wine container

    After the deepin-wine application is started for the first time, ~/.deepinwine/a folder (with different names) will be generated in the directory to store the wine container (you can understand me as a "Windows virtual machine"). If there is a problem with use, you can try deleting it. The corresponding subfolder in this directory.

  3. Uninstall a package

    Execute sudo apt-get purge --autoremove <包名>the command to remove the packages you have installed.

  4. Remove software repository

    sudo rm /etc/apt/sources.list.d/deepin-wine.i-m.dev.list \
            /etc/profile.d/deepin-wine.i-m.dev.sh
    sudo apt-get update

Guess you like

Origin blog.csdn.net/weixin_39538031/article/details/131550747