Ubuntu 20.04.1 LTS 安装 QQ 、微信 2021-01-13日
安装git,g++
sudo apt-get install g++ git
下载 deepin-wine 的一些deb文件
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
进入deepin-wine-for-ubuntu文件夹中
cd deepin-wine-for-ubuntu
赋权
chmod +x install.sh
安装deepin-wine
./install.sh
安装微信
http://packages.deepin.com/deepin/pool/non-free/d/ 【链接有效】
先进入这个网站 选择 deepin.com.wechat,下载最新微信安装包
我下载的是 deepin.com.wechat_2.6.8.65deepin0_i386.deb
然后将deb里面的文件提取出来放到deepin.com.wechat_2.6.8.65deepin0_i386文件夹
dpkg -x deepin.com.wechat_2.6.8.65deepin0_i386.deb deepin.com.wechat_2.6.8.65deepin0_i386
接着提取DEBIAN文件夹
mkdir deepin.com.wechat_2.6.8.65deepin0_i386/DEBIAN
dpkg -e deepin.com.wechat_2.6.8.65deepin0_i386.deb deepin.com.wechat_2.6.8.65deepin0_i386/DEBIAN
进入 DEBIAN文件夹修改control文件
cd deepin.com.wechat_2.6.8.65deepin0_i386/DEBIAN
修改 Depends: deepin-wine (>= 2.18-22) 即可
因为安装的deepin-wine是2.18-22的
Package: deepin.com.wechat
Version: 2.6.8.65deepin0
Architecture: i386
Maintainer: Deepin WINE Team
Installed-Size: 49110
Depends: deepin-wine (>= 2.18-22), deepin-wine32, deepin-wine32-preloader, deepin-wine-uninstaller, deepin-wine-helper (>= 1.2deepin8), fonts-noto-cjk
Section: non-free/otherosfs
Priority: optional
Multi-Arch: foreign
Description: Tencent WeChat Client on Deepin Wine
重新打包
切换到 deepin.com.wechat_2.6.8.65deepin0_i386文件夹上层目录
dpkg -b deepin.com.wechat_2.6.8.65deepin0_i386/ deepin.com.wechat_2.6.8.65deepin0_i386.deb
当前目录生成
deepin.com.wechat_2.6.8.65deepin0_i386.deb
然后安装 deb
dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb
安装成功!
发不了图片安装
sudo apt-get install libjpeg62:i386
安装QQ
http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.qq.im/
下载这个 deepin.com.qq.im_9.1.8deepin0_i386.deb
然后安装deb
dpkg -i deepin.com.qq.im_9.1.8deepin0_i386.deb