ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

dpkg

2021-09-27 14:02:25  阅读:351  来源: 互联网

标签:level get apt deb Debian dpkg


dpkg

1. 官网

dpkg, a medium-level package manager for Debian

With dpkg --set-selections, you can set which packages are to be installed/removed etc, which gets done the next time you run apt-get dselect-upgrade

Why "medium-level"?

Below it, there's dpkg-deb, which performs lower-level action on .deb(binary) packages, such as reading the control information and directly extracting the contained files.

dpkg checks dependencies and will refuse to install a package whose dependencies aren't met, but it won't help you find and install those dependencies. You nedd a higher-level tool(e.g. aptitude, apt-get or dselect) for that.

dpkg, 对于Debian , 是一个 中级 包管理工具

使用 dpkg 设置选择, 你可以 安装/移除 哪个包, 还有 用于 下次 你运行 apt-get dselect-upgrade 命令, 要做的选项

为什么说是 中级 呢?

因为, 在它之下, 有 dpkg-deb, 被用来在 .deb 二进制包 上, 执行 更低级的 行为, 比如 读 控制信息 和 提取包含的文件

dpkg 检查依赖, 会 拒绝安装 那些缺少依赖的 包, 但是 它 不会 帮你 找 和 安装 那些依赖, 你需要 一个 更高级 的 工具, 比如 apt-get 来 找 和 安装 那些依赖

2. 百科

dpkg, Debian Packager

为 Debian, 专门开发的 套件管理系统, 方便软件的安装, 更新 及 移除,

所有源自 Debian 的 Linux发行版, 都使用 dpgk, 例如 Ubuntu, Knoppix等

Debian 和 Ubuntu, 同属于 Debian系

https://www.cnblogs.com/beyondx/p/15342159.html

dpkg, 是 Debian软件包管理器 的 基础, dpkg 和 rpm 相似, 同样被用于 安装, 卸载 和 供给 .deb 软件包相关的信息

参考链接

https://baike.baidu.com/item/dpkg/9944168

https://wiki.debian.org/dpkg

https://www.dpkg.org/

标签:level,get,apt,deb,Debian,dpkg
来源: https://www.cnblogs.com/beyondx/p/15342603.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有