Giter Site home page Giter Site logo

xxlxsyhl / deepin-wine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zq1997/deepin-wine

0.0 1.0 0.0 67 KB

【deepin源移植】Debian/Ubuntu上最快的QQ/微信安装方式

Home Page: https://deepin-wine.i-m.dev

License: GNU General Public License v3.0

Python 61.56% Shell 12.06% Makefile 26.38%

deepin-wine's Introduction

deepin-wine

deepin-wine环境与应用在Debian/Ubuntu上的移植仓库

使用deepin官方原版软件包

安装QQ/微信只需要两条命令

关于V2(老用户看这里)

deepin-wine移植仓库现(2010/05/03)已升级为V2版本,兼容更多发行版。

旧版现在依然可以使用,但将来会择期关闭,运行如下命令可以从V1升级到V2

sudo rm /etc/apt/trusted.gpg.d/i-m.dev.gpg
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh

快速开始(新用户看这里)

  1. 添加仓库

    首次使用时,你需要运行如下一条命令将移植仓库添加到系统中。

    wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
  2. 应用安装

    自此以后,你可以像对待普通的软件包一样,使用apt-get系列命令进行各种应用安装、更新和卸载清理了。

    比如安装微信只需要运行下面的命令,

    sudo apt-get install deepin.com.wechat

    deepin.com.wechat替换为下列包名,可以继续安装其他应用:

    应用 包名
    TIM deepin.com.qq.office
    QQ deepin.com.qq.im
    QQ轻聊版 deepin.com.qq.im.light
    微信 deepin.com.wechat
    百度网盘 deepin.com.baidu.pan
    迅雷极速版 deepin.com.thunderspeed
    WinRAR deepin.cn.com.winrar

    当然还有一些其他的应用,不逐一列出。

添加仓库过程详解

不关心细节的同学不必了解这部分,完全不影响使用

环境配置其实就是添加我自行构建的软件仓库为源,具体包括以下几步。

  1. 添加i386架构

    因为deepin-wine相关的软件包都是i386的,而现在的系统基本是64位的,所以需要先添加i386架构支持。

    通过dpkg --print-architecturedpkg --print-foreign-architectures命令查看系统原生和额外添加的架构支持,如果输出结果不含i386,则需要手动添加支持。

    sudo dpkg --add-architecture i386
  2. 添加软件源

    创建/etc/apt/sources.list.d/deepin-wine.i-m.dev.list文件,编辑其内容如下,

    deb [trusted=yes] https://deepin-wine.i-m.dev /
    
  3. 设置源优先级

    创建/etc/apt/preferences.d/deepin-wine.i-m.dev.pref文件,编辑其内容如下,

    Package: *
    Pin: release l=deepin-wine
    Pin-Priority: 200
    
  4. 刷新软件源

    sudo apt-get update

卸载清理

卸载与清理按照层次从浅到深可以分为如下四个层级,

  1. 清理应用运行时目录

    例如QQ/TIM会把帐号配置、聊天文件等保存~/Documents/Tencent Files目录下,而微信是~/Documents/WeChat Files,删除这些文件夹以移除帐号配置等数据。

  2. 清理wine容器

    删除~/.deepinwine/目录下相应名称的文件夹即可。

  3. 卸载软件包

    常规的sudo apt-get purge xxxsudo apt-get autoremove操作。

  4. 移除软件仓库

    sudo rm /etc/apt/preferences.d/deepin-wine.i-m.dev.pref /etc/apt/sources.list.d/deepin-wine.i-m.dev.list
    sudo apt-get update

    这会把一切恢复到最初始的状态。

移植原理

deepin把QQ/微信之类的deepin wine应用打包放在了deepin仓库中,因此先提取出这些应用及依赖的软件包,再减去Debian/Ubuntu等发行版官方仓库中固有的软件包,就可以打包成一个移植于对应发行版的“差量仓库”。

版权相关

这个git仓库中的代码只包括了移植版软件仓库的构建工具,最后仓库中软件包的下载地址会被301重定向到deepin的官方仓库(或者镜像)中去,其版权由 deepin 所有。

感谢

本项目受 wszqkzqk/deepin-wine-ubuntu 项目启发,改进了一下安装方式,因此兼容原项目,已经按照deepin-wine-ubuntu项目安装好后,依然可以再按此项目进行配置,可以更方便地进行后续更新。

deepin-wine's People

Contributors

zq1997 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.