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/

posted on   beyondx  阅读(196)  评论(0编辑  收藏  举报

编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示