Giter VIP home page Giter VIP logo

deepin-wine's Introduction

deepin-wine

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

使用deepin官方原版软件包

安装QQ只需要apt-get install这么简单

关于V2

deepin-wine移植仓库现已升级为V2版本,兼容更多发行版。

V1仓库源现在依然可以使用,但将来会择期关闭。运行如下命令可以从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系列命令进行各个deepin-wine应用安装、更新、卸载和依赖清理了。

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

    sudo apt-get install deepin.com.qq.office

    常用应用的软件包名如下:

    应用 包名
    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

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

版权相关

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

感谢

本工作是参考了wszqkzqkdeepin-wine-ubuntu工作,在此基础上进行了高更一层的包装,让使用变得方便一点。同时,此项目的兼容wszqkzqk的项目,已经按照wszqkzqk项目安装好后,依然可以再按此项目进行配置,可以更方便地进行后续管理。

deepin-wine's People

Contributors

zq1997 avatar

Stargazers

 avatar

Watchers

 avatar  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.