https://www.lulinux.com/archives/1319/comment-page-4
https://github.com/wszqkzqk/deepin-wine-ubuntu
准备环境
#!/bin/bash
mkdir /tmp/deepintemp
cd /tmp/deepintemp
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb
echo '准备添加32位支持'
sudo dpkg --add-architecture i386
echo '添加成功,准备刷新apt缓存信息...'
sudo apt update
echo '即将开始安装...'
sudo dpkg -i *.deb
echo '安装完成,正在自动安装依赖...'
sudo apt install -fy
rm -vfr /tmp/deepintemp
安装微信
https://github.com/wszqkzqk/deepin-wine-ubuntu下载版本
deepin.com.wechat_2.6.8.65deepin0_i386.deb
dkpg -i xxxx
如果以前安装过低版本的wine 且无法正常卸载,需要在当前用户目录下直接删除 .wine目录
设置图标
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=Deepin WINE Team
Categories=chat;
Icon=deepin.com.wechat
Exec="/opt/deepinwine/apps/Deepin-WeChat/run.sh" -u %u
Name=WeChat
Name[zh_CN]=微信
Comment=Tencent WeChat Client on Deepin Wine
StartupWMClass=WeChat.exe
MimeType=
Icon=/home/baixiaoxu/图片/wechat.png ##图标
方式2
https://github.com/wszqkzqk/deepin-wine-ubuntu 操作说明
本地安装(Ubuntu/Debian通用)
-
克隆 (
git clone https://github.com/wszqkzqk/deepin-wine-ubuntu.git
) 或下载到本地。 -
在中国推荐用下面的地址,速度更快: (
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
) -
解压后切换到解压文件目录,在终端中运行(授予可执行权限后):
./install.sh
KDE或其他按照普通安装方式安装后运行出现X错误的桌面环境执行
./KDE-install.sh
以上步骤操作完成后:
下载微信包
https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.wechat/
https://mirrors.aliyun.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
实操步骤:
git clone https://github.com/wszqkzqk/deepin-wine-ubuntu.git
cd deepin-wine-ubuntu/
sudo ./install.sh
wget https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.2.31deepin0_i386.deb
sudo dpkg -i deepin.com.wechat_2.6.2.31deepin0_i386.deb
#sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb 有依赖错误