欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

ubuntu 安装微信

程序员文章站 2022-06-15 22:38:02
目录1.下载deepin-wine2.下载deepin.com.wechat_2.6.8.65deepin0_i386.deb1.下载deepin-winehttps://github.com/wszqkzqk/deepin-wine-ubuntu点击 deepin-wine-ubuntu-v2.18-12-ubuntu2.tar.gz进行下载下载下来后单独建立一个文件夹进行解压mkdir deepintar -xvf deepin-wine-ubuntu-v2.18-12-ubuntu2....

1.下载deepin-wine

https://github.com/wszqkzqk/deepin-wine-ubuntu

ubuntu 安装微信
ubuntu 安装微信点击 deepin-wine-ubuntu-v2.18-12-ubuntu2.tar.gz进行下载

下载下来后单独建立一个文件夹进行解压

mkdir  deepin
tar -xvf deepin-wine-ubuntu-v2.18-12-ubuntu2.tar.gz
./install.sh               //缓慢等待中 。。。。

解压完成
ubuntu 安装微信终于运行完成,进入第二步

2.下载deepin.com.wechat_2.6.8.65deepin0_i386.deb

点击下载: deepin.com.wechat_2.6.8.65deepin0_i386.deb
ubuntu 安装微信
下载下来后执行:

sudo dpkg -i ./deepin.com.wechat_2.6.8.65deepin0_i386.deb

运行完成后可能碰到错误:

(正在读取数据库 ... 系统当前共安装有 281328 个文件和目录。)
正准备解包 deepin.com.wechat_2.6.8.65deepin0_i386.deb  ...
正在将 deepin.com.wechat:i386 (2.6.8.65deepin0) 解包到 (2.6.2.31deepin0)...
dpkg: 依赖关系问题使得 deepin.com.wechat:i386 的配置工作不能继续:
 deepin.com.wechat:i386 依赖于 deepin-wine (>= 2.18-19);然而:
系统中 deepin-wine 的版本为 2.18-12。
 deepin.com.wechat:i386 依赖于 deepin-wine-helper (>= 1.2deepin8);然而:
系统中 deepin-wine-helper:i386 的版本为 1.2deepin0。

dpkg: 处理软件包 deepin.com.wechat:i386 (--install)时出错:
 依赖关系问题 - 仍未被配置
正在处理用于 desktop-file-utils (0.23-1ubuntu3.18.04.2) 的触发器 ...
正在处理用于 mime-support (3.60ubuntu1) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
在处理时有错误发生:
 deepin.com.wechat:i386

新建脚本update-wine-2.18-19.sh

touch   update-wine-2.18-19.sh
chmod 777 update-wine-2.18-19.sh
sudo ./update-wine-2.18-19.sh   //等待运行完脚本,估计有一段时间

update-wine-2.18-19.sh 内容直接拷贝

#!/bin/bash
mkdir /tmp/deepintemp
cd /tmp/deepintemp
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-19_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-19_i386.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-19_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-19_all.deb
wget http://mirrors.aliyun.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-19_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

运行完成脚本后
再次执行
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb

运行完成后,在搜索框输入deep 点击微信运行
ubuntu 安装微信
OK 完美运行
ubuntu 安装微信

本文地址:https://blog.csdn.net/weixin_41477306/article/details/108561980