Ubuntu 18.04 安装 deepin 微信

环境说明

系统: Ubuntu 18.04 LTS (经实测,Ubuntu 20.04 同样适用)

桌面环境: Gnome 3.28.2

主要参考repo: https://github.com/wszqkzqk/deepin-wine-ubuntu 进行改进

主要思路

本来按该repo可以直接装好的,但不知道什么时候阿里云的deepin-wine 库被删了……所以必须手动将这个repo里面的阿里源替换为 deepin 的官方源

deepin-wine 官方源链接:https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/

操作步骤

  1. 克隆 repo 到本地 git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git

  2. 进入目录 deepin-wine-ubuntu,打开 install_2.8.22.sh

  3. 将其内容替换成下面的东西

    #!/bin/bash
    mkdir ./deepintemp
    cd ./deepintemp
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
    wget https://packages.deepin.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
    wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
    wget  https://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
    wget  https://packages.deepin.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 ./deepintemp
    
  4. 保存文件,运行 sudo chmod 755 install_2.8.22.sh

  5. 运行 ./install_2.8.22.sh

  6. 去 https://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/ 下载最新版的微信安装包,使用 sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb 安装即可

你可能感兴趣的:(Ubuntu,ubuntu,deepin,linux)